Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to show a summary of the last puppet agent run?

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?

like image 436
August Gerro Avatar asked Mar 08 '23 20:03

August Gerro


1 Answers

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
like image 119
Devendra Singh Avatar answered Mar 19 '23 05:03

Devendra Singh