I try to start with the (unmodified)  samples from cfengine-3.0.0p1/inputs
but getting errors.
Is there a set of cf3 configs available which are valid for cf3 ?

debian:~# cf-promises
cf3:/var/cfengine/inputs/site.cf:181,34: (null) is not a valid type
category for agent bundles, near token '}'
cf3:/var/cfengine/inputs/site.cf:181,34: Possibly the bundle type (null)
itself is undefined, near token '}'
cf3:/var/cfengine/inputs/site.cf:181,34: Constraint lvalue showstate is not
allowed in bundle category '(null)', near token '}'
cf3:/var/cfengine/inputs/site.cf:188,37: (null) is not a valid type
category for agent bundles, near token '}'
cf3:/var/cfengine/inputs/site.cf:188,37: Possibly the bundle type (null)
itself is undefined, near token '}'
cf3:/var/cfengine/inputs/site.cf:188,37: Constraint lvalue showstate is not
allowed in bundle category '(null)', near token '}'
cf3:/var/cfengine/inputs/site.cf:195,36: (null) is not a valid type
category for agent bundles, near token '}'
cf3:/var/cfengine/inputs/site.cf:195,36: Possibly the bundle type (null)
itself is undefined, near token '}'
cf3:/var/cfengine/inputs/site.cf:195,36: Constraint lvalue showstate is not
allowed in bundle category '(null)', near token '}'
cf3:/var/cfengine/inputs/site.cf:202,39: (null) is not a valid type
category for agent bundles, near token '}'
cf3:/var/cfengine/inputs/site.cf:202,39: Possibly the bundle type (null)
itself is undefined, near token '}'
cf3::Too many errors
debian:~#

site.cf:
...
174 bundle agent anomalies
175 {
176 rootprocs_high_dev2::
177
178    "RootProc anomaly high 2 dev on $(sys.host) at $(sys.env_time)
179     measured value $(sys.value_rootprocs) av $(sys.average_rootprocs)
pm $(sys.stddev_rootprocs)"
180
181       showstate => { "rootprocs" };
182
183 entropy_www_in_high&anomaly_hosts.www_in_high_anomaly::
184
185    "HIGH ENTROPY Incoming www anomaly high anomaly dev!! on $(sys.host)
at $(sys.env_time)
186     - measured value $(sys.value_www_in) av $(sys.average_www_in) pm
$(sys.stddev_www_in)"
187
188       showstate => { "incoming.www" };
189
190  entropy_www_in_low.anomaly_hosts.www_in_high_anomaly::
...

Kind Regards
Juergen Prusseit

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

Reply via email to