analyzing Puppet's actions and proposed actions via comprehensive reporting

32 views
Skip to first unread message

Stuart Cracraft

unread,
Nov 27, 2013, 4:46:05 PM11/27/13
to puppet...@googlegroups.com
Anyone know of a Ruby, Perl, Python, Bash, etc. script to do this already written?

Summarize /var/lib/puppet/reports/*all hosts*/*.yaml
Assume infinite store in above.
For any given period in the above, summarize:
  action that was performed by puppet or would be performed if in noop
    including the specific cli-command-line command equivalent (e.g. chmod xyz abc, etc.)
  number of times and dates/timetamps the actions were taken and what method
    of initiation was done (human-initiated, puppet-initiated, etc.)

So that's it. I don't care what it's written in as I am not a Ruby purist.

--Stuart

Stuart Cracraft

unread,
Nov 29, 2013, 3:08:03 AM11/29/13
to puppet...@googlegroups.com
I took care of this on Friday with a 30-line Perl script.

Handy-dandy!

--
You received this message because you are subscribed to a topic in the Google Groups "Puppet Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/puppet-users/JrZsoyPv6OU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to puppet-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/22c71b08-bc1a-454e-832e-910d0b2bc06e%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply all
Reply to author
Forward
0 new messages