I am new to CFEngine and i am trying to perform some actions based on hostnames.
eg: all hostnames having stable should contain packages from slist 1 all hostnames having test should contain packages from slist 2
bundle agent package_lists {
packages:
stable&dist_class::
"$(user_packages.package_stable)"
package_policy => "add",
package_method => yuck,
classes => if_repaired("package_changed");
}
I want to change this to include hosts with test in them a well
should addition of test be sufficient? I am not able to understand what dist_class:: and stable are.
-stable&dist_class::
+test&stable&dist_class::