We have this exact same requirement.

Enforce a non-changing policy on the cloud, avoid automatic 
drift-prevention, await errors and reports,
track down cause, fix root cause, apply puppet manifests to right things 
back, etc.

Using Puppet to bandaid things without root-cause drill-down/post-mortem, 
is unwise!!!!

We need a simple report-formatting mechanism like David says!

On Tuesday, November 26, 2013 8:54:03 AM UTC-8, David Portabella wrote:

> puppet agent --verbose shows a verbose output of the changes done by 
> puppet, such as:
>
> notice: 
> /Stage[main]/Logstash::Config/Logstash::Configdir[agent]/File[/etc/logstash/agent/config]/owner:
>  
> owner changed 'root' to 'logstash'
> notice: /Stage[main]/Varnish/Service[varnish]/ensure: ensure changed 
> 'stopped' to 'running'
>
> I'd need to make some analysis about these changes, but it is not trivial 
> to correctly parse this output.
> is there an option to get an structured version of this output (such as in 
> xml or yaml)?
> so that I can make queries such as:
> - list all the files that have changed
> - list all the services that changed from stopped to running.
> ...
>
> yes, i can use sed and the like as a temporal workaround, but I'd need to 
> have a robust approach.
>
> option1: maybe there is a tool that correctly parses this output?
> option2: or maybe there is a "puppet agent" equivalent command that 
> directly produces a structured output?
>
> otherwise, how much time would it required to implement option2 (i am a 
> software developer, and a puppet-user (not currently a puppet-developer)?
>
> Regards,
> David
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/5907f644-2285-4298-9a07-3d5e8de63a24%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to