Am Montag, dem 03.04.2023 um 09:47 + schrieb Chris Ritson:
Does a manual puppet agent run (puppet agent --test) have a defined exit status
to indicate if errors were detected? This is not described by the built-in help.
Yes, it is:
* --detailed-exitcodes:
Provide extra information
https://www.puppet.com/docs/puppet/7/man/agent.html#options
--detailed-exitcodes looks like it might help?
On Mon, 3 Apr 2023, 10:48 Chris Ritson,
wrote:
> Does a manual puppet agent run (puppet agent --test) have a defined exit
> status to indicate if errors were detected? This is not
Does a manual puppet agent run (puppet agent --test) have a defined exit status
to indicate if errors were detected? This is not described by the built-in
help. In two test cases, I have only seen a return code of 2. Both runs made
some changes. One had warnings, the other didn't.
--
Chris