Project

General

Profile

Bug #5315

Updated by Matthieu CERDA over 10 years ago

Hi, 

 <pre> 
 2014-07-24T15:41:13+0000      error: /default/process_management/methods/'any'/default/check_process/processes/'snmpd'[0]: process_count and restart_class should not be used in the same promise as this makes no sense 
 2014-07-24T15:41:13+0000       info: /default/process_management/methods/'any'/default/check_process/processes/'snmpd'[0]: Promise belongs to bundle 'check_process' in file '/var/rudder/cfengine-community/inputs/processManagement/1.1/processManagement.cf' near line 50 
 2014-07-24T15:41:13+0000      error: /default/process_management/methods/'any'/default/check_process/processes/'snmpd'[0]: process_count and restart_class should not be used in the same promise as this makes no sense 
 2014-07-24T15:41:13+0000       info: /default/process_management/methods/'any'/default/check_process/processes/'snmpd'[0]: Promise belongs to bundle 'check_process' in file '/var/rudder/cfengine-community/inputs/processManagement/1.1/processManagement.cf' near line 50 
 2014-07-24T15:41:13+0000      error: /default/process_management/methods/'any'/default/check_process/processes/'snmpd'[0]: process_count and restart_class should not be used in the same promise as this makes no sense 
 2014-07-24T15:41:13+0000       info: /default/process_management/methods/'any'/default/check_process/processes/'snmpd'[0]: Promise belongs to bundle 'check_process' in file '/var/rudder/cfengine-community/inputs/processManagement/1.1/processManagement.cf' near line 50 
 </pre> 

 This is due to the fact that a single "processes:" promiser has two "action" attributes: restart_class and process_select. They should be splitted in two distinct operations. Thanks.

Back