cf3.2.3 with the following:

bundle common def
{
   vars:
      "dir_wl10domain"   string => "/apps/bea10/user_projects/domains”;
   classes:
      "WL10Host"        expression => fileexists("$(dir_wl10domain)”);
}

bundle agent main
{
   files:
      WL10Host::
         “$(def.dir_wl10domain)" file_select => name_age("Snap.*\.trc","14"),
                            depth_search => recurse("1"),
                                  delete => tidy;
}

Even though I declared “dir_wl10domain" in a common bundle and thus the 
variable is available globally, I still must explicitly reference it as 
$(def.dir_wl10domain) when I reference it in a different bundle, as in the 
above.  Is this correct?


_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to