Forum: CFEngine Help
Subject: Re: CFEngine Help: Re: Define classes if a process is running or not
Author: loopx
Link to topic: https://cfengine.com/forum/read.php?3,26866,26925#msg-26925

This is not working at all ... :

body process_count any_count_no_inform(cl) {
        match_range             => "0,0";
        out_of_range_define     => { "$(cl)" };
        log_level               => "error";
}



        processes:
                redhat_6::
                        "rhsmcertd"
                                process_count   => 
any_count_no_inform("rhsmcertd_needs_stop"),
                                #log_level      => "log",
                                comment         => "Check if process 
'rhsmcertd' is running ; should be stopped ...";


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

Reply via email to