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

Hello,

I'm trying to run cf-agent on the group of servers. So I've created a simple 
server-side configuration like:

body runagent control
{
testhosts::
  hosts => {
    "n2rhps01.mzem.net",
    "n2rhps02.mzem.net",
  };
}

But when I try to run 'cf-runagent -s testhosts', these hosts aren't hailed at 
all. When I remove 'testhost::' line, it works fine. Furthermore I've tried 

# cf-runagent -s XXXXX -v -n |grep XXXXX
# 

and it surprised me that nothing came out - I was expecting to see class 
'XXXXX' among defined ones. Am I getting it wrong? Thanks!

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

Reply via email to