How to count the number of times no-noop was ran?

asked 2016-08-17 16:48:43 -0500

jsemerica gravatar image

Hello all,

Our dev team is asking for us to keep track of the number of deployments made with puppet. This would basically be the number of times we run --no-noop, either through mcollective or with puppet agent itself. Our puppet.conf has 'noop =true' so counting the number of times --no-noop was used would be one way. Any other ways I can think of are more of a hack than I'd like, such as using aliases and outputting the command into a log, or something like that.

Is there any way to do this cleanly, perhaps through loglevels or through the PE console?

We're running PE v3.8.1 although we'll be upgrading soon.

Thanks for any and all help!

edit retag flag offensive close merge delete