I have about 500 servers I manage with cfengine 2. I'm looking to upgrade to
version 3 but I have a couple of questions.
In my current setup, my cfagent.conf looks something like this:
import:
any:: groups/any.cf
backup:: groups/backup.cf
webservers:: groups/webservers.cf
Inside groups/any.cf I have:
import:
any::
imports/resolv_conf.cf
And finally, inside imports/resolv.conf I have the goodies on how I deploy
my many different resolv.conf's. Anyway, as you can see I'm breaking out
tasks by hostgroups via the import function. This provides me with an easy
to read configuration. I can easily just look at a host group and understand
what cfengine tasks they are pulling in.
I'm a little confused as to how to implement a similar method within
cfengine 3. Can someone please offer me some advice? I don't really know
where to start. Where do I define the host groups? How do I import tasks
based on host groups etc?
_______________________________________________
Help-cfengine mailing list
[email protected]
https://cfengine.org/mailman/listinfo/help-cfengine