I have installed cfengine 3 enterprise for testing. However when I go to run a test promise I get an error back saying
Redefinition of body "control" for "common" is a broken promise
Below is the code, any ideas?
body common control
{
bundlesequence =>{ "edit_motd"};
}
bundle agent edit_motd
{
vars:
"motd" string => "/etc/motd";
files:
"$(motd)"
create => "true",
edit_line => addmessage;
reports:
cfengine::
"Hello world!";
}
bundle edit_line addmessage
{
insert_lines:
"This system is managed by CFEngine 3";
}
Just add host_licenses_paid in common control and you should be fine:
However, the error message is a bit different than what I get with my installation. Can you check if the above works?