Hi. I'm trying to understand Cfengine 3 bodies better. Why are body
parts attributes separated by semicolons but promise attributes
separated by commas?
For example:
--- start of body parts example ---
bundle agent example
{
storage:
"/" volume => min_free_space("25%");
}
body volume min_free_space(free)
{
check_foreign => "false";
freespace => "$(free)";
sensible_size => "10000";
sensible_count => "2";
}
--- end of body parts example ---
--- start of promise attributes in the bundle example ---
bundle agent example
{
files:
"/tmp/testfile" -> "Cfengine class",
create => "true",
mode => "0740";
}
--- end of promise attributes in the bundle example ---
So why do we separate attributes with commas in the bundle, and with
semicolons in the body?
Thanks,
Aleksey
_______________________________________________
Help-cfengine mailing list
[email protected]
https://cfengine.org/mailman/listinfo/help-cfengine