Jason Edgecombe wrote:
[EMAIL PROTECTED] wrote:
Hi ya'll-
First, thanks much for the help and advice already given to me on this
list, it's been invaluable! I'm almost sorted with my entire cfengine
setup for my network of 300+ clients, and the last thing to get working
is cfrun.
My question in this. I know you can force a cfrun on one host at a
time, IF that host is listed in the cfrun.hosts. But is there a way to
define classes (we have a nifty cf.groups file with all kinds of group
definitions) and just run cfrun on a specified class only? Like, if I
have a group called "webservers" with 5 hosts as members of that group,
could I do something crafty like:
% cfrun -v webservers
or something like that to ONLY force a cfagent run on those hosts only?
Sorry for the empty email.
Yes, you can run cfrun for a certain group of hosts.
i.e. "cfrun -v linux" would run on all linux hosts.
My understanding is that the cfrun classes are defined in the cfagent
config. cfrun pings all hosts and tells hosts of a certain class to run.
It says "hey everyone, I want only group x to do this."
See http://www.cfengine.org/docs/cfengine-Reference.html#cfrun
Jason
_______________________________________________
Help-cfengine mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-cfengine