Forum: CFEngine Help Subject: Re: context and relevance Author: raymondcox Link to topic: https://cfengine.com/forum/read.php?3,24079,24085#msg-24085
I think you are pretty close, you just need to adjust your class statement from and to or: bundle agent test5 { classes: "my_class" or => { "myhost1", "myhost2" }; ....... my_class should then be defined on myhost1 or myhost2 but not on any other host. _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine