Forum: Cfengine Help
Subject: Re: Cfengine Help: Looking for ideas on people's config
Author: hhammer
Link to topic: https://cfengine.com/forum/read.php?3,18246,18255#msg-18255

Michael Potter Wrote:
-------------------------------------------------------
> Here my advice:
> 
> Try and avoid per-host file anythings. Cfengine
> provides classes to control
> per-host behaviors, trying to simulate that
> behavior yourself by attempting
> to control which files go to which machine
> undermines Cfengine most powerful
> feature - class-based behavioral control. In other
> words, I recommend you
> deploy the same set of configuration files to
> every machine, and use classes
> to control which bodies/bundles get applied to any
> given machine.
> 
> My approach to the bundlesequence is as follows:
>

Thanks, this is along the lines neilhwatson suggested. Basically one creates a 
global list containing the bundles to run, based on the class the host is in.
Doesn't this get a bit unwieldy with hosts that are in multiple classes?

_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to