Re: [Puppet Users] Puppet agent exit code for monitoring script

Andreas Ntaflos
2012-12-04T16:35:12Z

On 04/12/12 16:40, Felix Müller wrote:
> Hello,
>
> I would like to build a script, which notifies me, when a production
> host notices, that there change on a host, based on the Puppet exit
> codes without executing it.

Probably easier and more effective to examine
/var/lib/puppet/state/last_run_summary.yaml. As obvious from the
filename it contains information about the latest Puppet run in a simple
YAML format.

Andreas