Dear Neil, Could you please demonstrate with a running example? I couldn't get this to work...
Thanks, Aleksey On Wed, Sep 15, 2010 at 5:36 AM, <no-re...@cfengine.com> wrote: > Forum: Cfengine Help > Subject: Re: Looking for ideas on people's config > Author: neilhwatson > Link to topic: https://cfengine.com/forum/read.php?3,18245,18249#msg-18249 > > In promises.cf I define classes in a common bundle at the top of the file. > Then I can use this classes in common control. > bundle common gclasses { > classes: > webhosts or => { > "perl", > "diamond", > "ruby", > "topaz" > }; > > dnshosts or => { > "granite", > "sand", > "lime" > }; > } > > bundle common control { > > webhosts:: > bundlesequence => { > "update", > "classes", > "cfengine", > "security", > "apache", > "php", > "tidy", > "backup" > }; > > dnshosts:: > bundlesequence => { > "update", > "classes", > "cfengine", > "security", > "bind", > "tidy", > "backup" > }; > } > > > You can alter this to suit your needs. You can add variables in the top > common bundle if you like. > > _______________________________________________ > 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