How to make dashboard show error when exec fails?

asked 2016-09-27 23:38:13 -0500

dancewind gravatar image

updated 2016-09-28 05:02:47 -0500

Although puppet script exec{"XXX":} return non-0 result which means exec the command occurred error, the puppet dashboard still shows changed with a blue check sign. I know that the puppet consider the exec script had been executed so that it shows changed. But we would like to know from dashboard that the exec was not correct. Does there any script methods to make the exec error and let dashboard shows error? image description

edit retag flag offensive close merge delete