Details
-
Type:
Bug
-
Status: Rejected
-
Priority:
High
-
Resolution: Won't Do
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: Command line syntax/behaviour
-
Labels:None
Description
Trying this example from a fresh installation
[https://cfengine.com/docs/3.5/reference-components-cfrunagent.html#hosts]
Having same content in inputs/controls/cf_runagent.cf
And trying
<pre>
root@cfeserver:/var/cfengine# ./bin/cf-runagent -s network1 -d | grep network1
L:line network1::
L:class network1:: 12
P:body:runagent:control: class = network1::
P:body:runagent:control:network1 attribute = hosts
P:body:runagent:control:network1 list append: qstring = host1.example.org
P:body:runagent:control:network1 list append: qstring = host2
P:body:runagent:control:network1 list append: qstring = host3
P:body:runagent:control:network1 install list = hosts
</pre>
No class defined, no connection timout, nothing else related to any servers as mentionned in cf_runagent.cf.
Looks like it is not working...
BTW [https://github.com/cfengine/core/blob/master/cf-runagent/cf-runagent.c#L685] seems to use a regexp with ' ' little bit inconsistent compare to other one.
Attachments
Release management
Issue Links
- relates to
-
CFE-1831 cf-runagent options passed to cf-agent should be shell escaped
-
- Done
-