On 02/07/2012 02:09 PM, Pete Ashdown wrote:
> I'm not finding detailed documentation on the CFengine site in regards
> to configuring both the policy-server and the client, I am most likely
> missing something, but the core question I have is if the policy-server
> has the same promises as the clients?  In
> http://www.cfengine.com/manuals/cf3-solutions.html#Centralized-Management -
> it has a config file but doesn't explain if you use the same config file
> for the clients as the policy-server?  I see statements in the config
> file that relate to both, but I would imagine that the policy-server
> doesn't fetch its own policies from itself.

You can do lots of different things with controlling what files are
downloaded by what hosts etc ... but the simplest way is that all policy
files reside on all hosts.

You use classes to restrict the policy that you want to apply to a host.

Take a look at the classes that are defined by default on a host
cf-promises -v | grep Defined
you should find several classes that relate to hostname and domain name
that are probably a good place to start figuring out how to use classes
for host specific policy.

-- 
Nick Anderson <n...@cmdln.org>
_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to