Mark Burgess wrote:
> Works for me. Are you sure you are using the 3.0.0(p1) and not some
> old svn version?

I was using 3.0.0; I wasn't aware that p1 had come out. But I've now downloaded 
and built it. With both

body common control
{
domain => "example.org";
}

is passed by cf-promises, but not by cf-agent:

$ /local/cfengine/3.0.0p1/sbin/cf-promises -f try.cf
$ /local/cfengine/3.0.0p1/sbin/cf-agent -f try.cf
Duplicate selection of value for ipv4 (broken promise) in scope sys
in bundle parameterization
Duplicate selection of value for ipv4 (broken promise) in scope sys
in bundle parameterization
cf3:/home/staff4/njkw/.cfagent/inputs/try.cf:3,23: Constraint lvalue domain is 
not allowed in 'common' constraint body, near token 'example.org"'
Summarizing promises as text to /home/staff4/njkw/.cfagent/inputs/try.cf.txt
Summarizing promises as html to /home/staff4/njkw/.cfagent/inputs/try.cf.html
cf-agent was not able to get confirmation of promises from cf-promises, so 
going to failsafe
Can't stat file /home/staff4/njkw/.cfagent/inputs/failsafe.cf for parsing

where try.cf contains just the statements above.

Jim


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

Reply via email to