I think you want something like: vars: any:: 'crontab' string => 'foo'; # Set default redhat:: 'crontab' string => 'bar'; suse:: 'crontab' string => 'baz';
I don't think you need to bother with negation at all to deal with this sort of OS-specific data. You may need to set 'policy' to allow redefinition without a warning (I forget off the top of my head). Maybe I'm missing something though, the original message was really long. :-) 2009/12/1 <nwat...@symcor.com>: > !suse will match a redhat machine. So that over rides the previous redhat > declaration. I don't know what your goal of the ! assertion is but you > might try !suse.!redhat. > > Sincerely, > -- > Neil Watson > 416-673-3465 > > > > CONFIDENTIALITY WARNING > This communication, including any attachments, is for the exclusive use of > addressee and may contain proprietary and/or confidential information. If you > are not the intended recipient, any use, copying, disclosure, dissemination > or distribution is strictly prohibited. If you are not the intended > recipient, please notify the sender immediately by return e-mail, delete this > communication and destroy all copies. > > AVERTISSEMENT RELATIF À LA CONFIDENTIALITÉ > Ce message, ainsi que les pièces qui y sont jointes, est destiné à l’usage > exclusif de la personne à laquelle il s’adresse et peut contenir de > l’information personnelle ou confidentielle. Si le lecteur de ce message n’en > est pas le destinataire, nous l’avisons par la présente que toute diffusion, > distribution, reproduction ou utilisation de son contenu est strictement > interdite. Veuillez avertir sur-le-champ l’expéditeur par retour de courrier > électronique et supprimez ce message ainsi que toutes les pièces jointes. > > _______________________________________________ > Help-cfengine mailing list > Help-cfengine@cfengine.org > https://cfengine.org/mailman/listinfo/help-cfengine > > _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine