Forum: CFEngine Help
Subject: Re: body agent control
Author: Seva Gluschenko
Link to topic: https://cfengine.com/forum/read.php?3,24715,24775#msg-24775

Your approach is a bit too far complicated. Abortclasses stand for stopping 
execution completely. To avoid processing of just one bundle, make it 
class-dependant and simply don't define a class if you don't want a bundle to 
be called. E.g.:

methods:
    "any" usebundle => mybundle($(x), $(y),
              ifvarclass => canonify("$(condition)_defined");


_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to