Quick Links

CFengine3 tip: “Redefinition of a constant variable”

The CFengine3 learning curve is steep and slippery.

Let’s say you want to define a default policy for your hosts, and a more specialized policy for certain hosts. Your implementation might look like this:

# CFengine3 Test Policy
body common control
{
bundlesequence => { “test” };
}

bundle agent test
{
vars:

“base_list” slist => { “one”, “two”, “three” },
comment => “All systems can count one-two-three”;

redhat::
[...]

Continue reading CFengine3 tip: “Redefinition of a constant variable”