Hi help-cfengine, I am just getting started with Cf3. I was fiddling with some of the examples using community 3.0.2.
Since updating to 3.0.3 I have started seeing lots of messages like the following: Validation: Scalar item in restart_class => { startcfexecd } in rvalue is out of bounds (value should match pattern [a-zA-Z0-9_$()\[\].]+) This seems an odd message, since the rvalue appears to match that pattern just fine. In fact, the validation message appears on examples that ship with 3.0.3, e.g. if I run cf-promises on unit_update.cf, I get the errors: > cf3:./unit_update.cf:60,44: Scalar item in restart_class => { > start_exec } in rvalue is out of bounds (value should match pattern > [a-zA-Z0-9_$()\[\].]+), near token 'start_exec"' > cf3:./unit_update.cf:64,48: Scalar item in restart_class => { > start_server } in rvalue is out of bounds (value should match pattern > [a-zA-Z0-9_$()\[\].]+), near token 'start_server"' > cf3:./unit_update.cf:89,45: Constraint lvalue logstring is not allowed > in 'action' constraint body, near token ' -> Started the $(x) (success)"' > Validation: Scalar item in handle => { update_policy } in rvalue is > out of bounds (value should match pattern [a-zA-Z0-9_$()\[\].]+) > Validation: Scalar item in restart_class => { start_exec } in rvalue > is out of bounds (value should match pattern [a-zA-Z0-9_$()\[\].]+) > Validation: Scalar item in restart_class => { start_server } in rvalue > is out of bounds (value should match pattern [a-zA-Z0-9_$()\[\].]+) If I use restart_class => canonify("startcfexecd"), I can get past the errors, but I still get the validation warnings, which will be a nuisance if I run it on several machines. I am building under RHEL 5.4. Is anyone else seeing this? Jim _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine