I'm not sure if this is telling me it's unsupported, syntactically incorrect,
or a bug?
cf-agent -KI -b test -f ./test.cf
!!! No bundlesequence in the common control body
>> Using command line specified bundlesequence
-> Rotating files /tmp/alert.log in 10 fifo
Validation: Class item on rhs of lval 'class addition' given as { @-@ } is out
of bounds (should match [a-zA-Z0-9_$()\[\].]+)
-> Rotating files /tmp/alert.log in 10 fifo
Validation: Class item on rhs of lval 'class addition' given as { @-@ } is out
of bounds (should match [a-zA-Z0-9_$()\[\].]+)
bundle agent test
{
vars:
"LogRotate" slist => {
"/tmp/alert.log",
};
files:
"$(LogRotate)"
action => ifelapsed("120"),
classes => repaired("logrotate_$(this.promiser)"),
rename => rotate("10");
}
body classes repaired(class)
{
promise_repaired => { canonify("$(class)") };
}
The information transmitted is intended only for the person or entity to which
it is addressed and may contain confidential and/or privileged material. Any
review, retransmission, dissemination or other use of, or taking of any action
in reliance upon, this information by person or entities other than the
intended recipient is prohibited. If you received this in error, please
contact the sender and delete the material from any computer.
[email protected]
www.stginc.com
_______________________________________________
Help-cfengine mailing list
[email protected]
https://cfengine.org/mailman/listinfo/help-cfengine