Hmm seems that using process_select with a body like this:

body process_count isnot_running(class)
{
match_range => irange("1","inf");
out_of_range_define => { "$(class)" };
}

Does set a class globally like I expect restart_class to do.

On Tue, Nov 16, 2010 at 9:42 PM, Michael Potter <mega...@gmail.com> wrote:
> The refguide says this about restart class: "A class to be defined
> globally if the process is not running..."
>
> However, my tests are showing that the class defined with restart
> class is not defined globally, but local to the bundle. Subsequent
> bundles that use 'commands' are not able to rely on restart_class
> classes from earlier bundles.
>
> Can anyone else confirm this...and which is correct? Refguide or
> observed behavior?
>
_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to