Forum: Cfengine Help Subject: cf-runagent unable to background and ignoring -s Author: kholloway Link to topic: https://cfengine.com/forum/read.php?3,18529,18529#msg-18529
Trying to use cf-runagent with the command below, it works fully if I use -H with host names but seems to never work with -s as an option. It also does not seem to run in parallel to any of the hosts even with backgrounding and max_children set in runagent control. I have cf-serverd running on the remote hosts and test2 runs to completion doing everything I expect it to. With that in mind how do I get cf-runagent to hit all those hosts at once and why does the -s classing portion not seem to work at all? Version: core community version 3.0.5p1 OS: Solaris 10 Commands tried:: Test1 (this does nothing, never contacts any host just parses my config locally and exits): /opt/cf3/sbin/cf-runagent -v -D remote_test1,debug,skip_full -s test_hosts Test2 (this works properly and does everything I expect it to including setting the remote classes): /opt/cf3/sbin/cf-runagent -v -D remote_test1,debug,skip_full -H testhost1,testhost2,testhost3,testhost4 Relevant config:: body runagent control { max_children => '50'; background_children => "true"; # Test for cf-serverd stuff test_hosts:: hosts => { "testhost1", "testhost2", "testhost3", "testhost4" }; } _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine