Bas, classes defined via classes body become global, so you must tune class name to be unique.
2010/12/9 Bas van der Vlies <b...@sara.nl>: > I have this bundle: > {{{ > bundle agent quarterly { > methods: > any:: > "any" usebundle => cfengine_daemons_check(); > "any" usebundle => system_access_config("lisa"); > "any" usebundle => torque_daemons_check(); > "any" usebundle => ntp_daemons_check(); > "any" usebundle => ssh_daemons_check(); > }}} > > Just an observation i had defined the same class name in the bundle: > * ntp_daemons_check and ssh_daemons_check, namely process_out_of_range > > The class is globally so when one of the daemons is not running both will > be restarted. > > I could not find in the reference manual if this intended! I was surprised > ;-). But it sounds logical. > > > -- > ******************************************************************** > * Bas van der Vlies e-mail: b...@sara.nl * > * SARA - Academic Computing Services Amsterdam, The Netherlands * > ******************************************************************** > _______________________________________________ > Help-cfengine mailing list > Help-cfengine@cfengine.org > https://cfengine.org/mailman/listinfo/help-cfengine > -- SY, Seva Gluschenko. _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine