Hi.  I looked at Seva's example,

        classes:
                "$(temp)" expression => "any";

and the 'expression => "any"' attribute really bothered me,
because it violates the beautiful economy of expression
that CFEngine 3 is capable of.

  Really what we want to say is:

     classes:  "$(temp)";

  But that fails with:  "Irreconcilable constraints in classes".   Why?
  There are no constraints.  Why is that irreconcilable?


[cfengine00  ~]# cat test.cf
bundle agent example
{
        classes:
                "my_custom_class";
}

[cfengine00  ~]# cf-agent -f ./test.cf -K -b example
Irreconcilable constraints in classes for my_custom_class (broken promise)
I: Made in version 'not specified' of './test.cf' near line 4
Irreconcilable constraints in classes for my_custom_class (broken promise)
I: Made in version 'not specified' of './test.cf' near line 4
Irreconcilable constraints in classes for my_custom_class (broken promise)
I: Made in version 'not specified' of './test.cf' near line 4
[cfengine00  ~]#

This is with CFEngine 3.2.0.

Thanks,
Aleksey
_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to