Forum: Cfengine Help
Subject: Re: !!! No bundlesequence in the common control body
Author: phnakarin
Link to topic: https://cfengine.com/forum/read.php?3,18446,18458#msg-18458
I'm a big fan of methods promise so I would do something like this following
instead.
body common control
{
bundlesequence => { "g", "policy" };
}
bundle common g
{
classes:
"machines" or => { "ipv4_192_168_28_67", "ipv4_192_168_28_72" };
}
bundle agent policy
{
methods:
machines::
"main" usebundle => update;
"main" usebundle => garbage_collection;
"main" usebundle => main;
"main" usebundle => cfengine;
"main" usebundle => executor;
"main" usebundle => server;
"main" usebundle => restart;
"main" usebundle => cfbackup;
}
Cheers,
--Nakarin
_______________________________________________
Help-cfengine mailing list
[email protected]
https://cfengine.org/mailman/listinfo/help-cfengine