
body file control
{
namespace => "name2"; 
}


bundle agent mymethod(one,two)
{
files:

   "/tmp/$(one)$(two)"

       create => "true",
    edit_line => makefile,
        perms => name1:settings;

reports:

  cfengine_3::  "test $(one) $(two) in $(this.namespace)_$(this.bundle)";

}



bundle edit_line makefile
{
insert_lines:

   "THIS IS NAME2";

reports:

  cfengine_3::

    "makefile in name 2";
}


body perms settings
{
mode => "666";
}