Forum: CFEngine Help
Subject: Re: again, cf-runagent
Author: zzamboni
Link to topic: https://cfengine.com/forum/read.php?3,25915,25916#msg-25916
Brian,
In addition to what you already did, you need to set "cfruncommand" in "body
server control", which by default looks like this:
body server control
{
denybadclocks => "false";
allowconnects => { "127.0.0.1" , "::1", @(def.acl) };
allowallconnects => { "127.0.0.1" , "::1", @(def.acl) };
trustkeysfrom => { "127.0.0.1" , "::1", @(def.acl) };
skipverify => { ".*$(def.domain)", "127.0.0.1" , "::1", @(def.acl)
};
allowusers => { "root" };
# Uncomment the line below to allow remote users to run
# cf-agent through cf-runagent
# cfruncommand => "$(sys.cf_agent)";
}
You have to uncomment the "cfruncommand" line for it all to work.
_______________________________________________
Help-cfengine mailing list
[email protected]
https://cfengine.org/mailman/listinfo/help-cfengine