I am trying to use ifvarclass to restrict a file edit This is the construction I am trying to use but i cant seem to get it to evaluate. ifvarclass => "(groupname_defined_$(userlist).allow_non_unique_gid_$(userlist))|(groupname_defined_$(userlist).!gid_in_use_$(userlist)_$(gid))";
To do the edit I need both groupname_defined_$(userlist) and allow_non_unique_gid_$(userlist) or groupname_defined_$(userlist) but not allow_non_unique_gid_$(userlist) I see the or and not functions, but no and function. I am not quite sure how to define this can someone help me express this class restriction that I need? Maybe I need to join those two sets with classes type promises so I can do an ifvarclass => or? -- Nick Anderson <n...@cmdln.org> _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine