As Ubuntu administrator I want to know status of each or last puppet agent run. How can I check with cli? Can I write to logs each run in human readable format?
puppet maintain last puppet agent run status in /var/lib/puppet/state/last_run_summary.yaml. you can refer that yaml file content.
To know when puppet agent last ran on client server you can check timestamp
of that file via using below command (stat
) or your preferred any other command.
stat /var/lib/puppet/state/last_run_summary.yaml
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With