On 01/27/2012 08:46 AM, Jesse Becker wrote:
> I don't think so.
> 
> However, two possible workarounds occur to me:
> 
> 1) Pass a variable, and use ifvarclass.
> 2) Pass a variable, and use a classes: promise based on the contents to
> set a class.
> 
> (Both untested...)

I'm guessing the place he is calling the bundle from defines a private
class, so that class isn't accessible to the other bundle.

I tried a few different things without success, perhaps someone else has
an idea that works.

David, I think your best bet would be to have two different bundles, and
call one bundle if the class exists, and one if it does not.

Perhaps that is considered the "proper" way because your containing a
specific idea, not a decision tree.



-- 
Nick Anderson <n...@cmdln.org>
_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to