Ask Your Question
0

How can I see what resources were changed in the my last agent run?

asked 2017-01-31 04:31:14 -0600

Nathan Stone gravatar image

Hi all,

I know I can inspect /var/log/messages but is there a way I can check which resources have been updated after the last puppet agent run?

I'm using Puppet OS not PE.

Kind Regards, Nath

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2017-01-31 07:36:48 -0600

DarylW gravatar image

There are reports generated on each run, check puppet config print statedir for the location where the files are saved, you can also see them at puppet config print lastrunfile for the summary file, and puppet config print lastrunreport for the full report as yaml.

If you are forwarding your reports ( https://docs.puppet.com/puppet/latest... ) to either your puppetmaster, puppetdb, etc. You can inspect reports from any run.

edit flag offensive delete link more

Comments

1

Awesome! Ta dude

Nathan Stone gravatar imageNathan Stone ( 2017-01-31 07:50:11 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2017-01-31 04:31:14 -0600

Seen: 31 times

Last updated: Jan 31