Forum: CFEngine Help
Subject: Re: cf-runexec confusion
Author: pupu
Link to topic: https://cfengine.com/forum/read.php?3,23898,23900#msg-23900

I thought '-s' as a parameter of cf-runagent defines the class...? So how 
should I define several groups of hosts I want to run cf-agent remotely on? 
What I wanted to have was:

testhosts::

hosts => list_of_testhosts

site1::

hosts => list_of hosts_on_site_1

site22::

hosts => list_of_other_hosts

etc and use 'cf-runagent -s testhosts' on central cfengine server to execute 
cf-agent on all testhosts, 'cf-runagent -s site1' on all hosts on site 1. It 
seems like it doesn't work this way, though...

_______________________________________________
Help-cfengine mailing list
[email protected]
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to