Simon,

On 07/28/2011 12:39 PM, Simon Blake wrote:

> Is there a short circuit in here that I'm missing?  Rather than testing 
> each promise in the second bundle for a class set in the first bundle, 
> is there a way to go something like:
> 
>  set_mysql_root::
>    bundle agent app_db_mysql_check_root {
>      ...
>    }

There is no shortcut, but on the bright side you only need to specify
class for each _type_ of promises in bundle, not for every individual
promise. Does not really help if there is only one promise of each type
in bundle, though.

-- 
Mikhail Gusarov
Systems Engineer
CFEngine AS

Nydalsveien 33
0484 Oslo
_______________________________________________
Help-cfengine mailing list
[email protected]
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to