Actions
Bug #5753
closedInvalid generated promises are not detected as invalid as cf-promises fails to return error code
Status:
Rejected
Priority:
N/A
Assignee:
Category:
Web - Config management
Target version:
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:
Description
when I have invalid promises, du to class expression non parseable in ifvarclass, the return code of cf-promises is 0
So my promises are invalid, but the web interface doesn't know it :(
manually running cf-promises returns
2014-11-07T08:51:50+0000 error: /default/centreon_installation/methods: Unable to parse class expression '(file_copy_/etc/nrpe/centreon-nrpe.cfg_repaired|service_ensure_running_centreon_nrpe_repaired).!(file_copy_/etc/nrpe/centreon-nrpe.cfg_error|service_ensure_running_centreon_nrpe_error)' 2014-11-07T08:51:50+0000 error: /default/centreon_installation/methods: Unable to parse class expression '(file_copy_/etc/nrpe/centreon-nrpe.cfg_error|service_ensure_running_centreon_nrpe_error)' #echo $? 0
Actions