Hello againg,
Thanks, but this doesn't work if I also specify any:: class as well.
For example:
nyprovdev1 # more promises.cf
body common control
{
any::
bundlesequence => { "do_generic", "do_specific_OS" };
inputs => { "generic.cf" };
linux::
inputs => { "linux.cf" };
solaris::
inputs => { "solaris.cf" };
}
nyprovdev1 # cf-promises
cf3:/var/cfengine/inputs/promises.cf:11,31: Redefinition of input list (broken
promise), near token '}'
Bundle "do_specific_OS" listed in the bundlesequence is not a defined bundle
Fatal cfengine error: Errors in promise bundles
nyprovdev1 #
nyprovdev1 # cat generic.cf
bundle agent do_generic {
commands:
any::
"/bin/echo I bundle do_generic" ;
}
----- Original Message -----
From: [email protected]
To: [email protected]
At: 4/13 1:51:09
Forum: Cfengine Help
Subject: Re: v3 question
Author: Seva Gluschenko
Link to topic: https://cfengine.com/forum/read.php?3,16872,16876#msg-16876
Jim,
That would be quite the same in v3:
body common control
{
linux::
inputs => { "linux.cf" };
solaris::
inputs => { "solaris.cf" };
}
For me it looks strange to organize things that way, though, since it means
duplication of agent bundles for common services like sshd or ntp.
_______________________________________________
Help-cfengine mailing list
[email protected]
https://cfengine.org/mailman/listinfo/help-cfengine
_______________________________________________
Help-cfengine mailing list
[email protected]
https://cfengine.org/mailman/listinfo/help-cfengine