Re: [Puppet Users] Exit status of "puppet agent --test"

2023-04-03 Thread 'Dirk Heinrichs' via Puppet Users
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

Re: [Puppet Users] Exit status of "puppet agent --test"

2023-04-03 Thread Will McDonald
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

[Puppet Users] Exit status of "puppet agent --test"

2023-04-03 Thread 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. 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