Forum: CFEngine Help Subject: Re: Having trouble setting a custom class. "Irreconcilable constraints" error but there are no constraints. Author: zzamboni Link to topic: https://cfengine.com/forum/read.php?3,23477,23484#msg-23484
Actually, I would not characterize the cfengine3 syntax for its "economy of expression" as you put it, but rather for its consistency - in fact I think there are very few shortcuts in the cfengine3 syntax. Under the assumption of consistency, the expression "classname" attribute => "value"; makes perfect sense, since it matches all other promise types, which can be parameterized by attribute => value pairs. It could be argued that it makes sense to assume "expression" => "any" if no attributes are specified, but I don't think much would be gained in terms of clarity. _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine