----- Original Message -----
> From: "ollies...@googlemail.com" <paul.seym...@barcap.com>
> To: puppet-users@googlegroups.com
> Sent: Thursday, December 6, 2012 1:50:56 PM
> Subject: [Puppet Users] Catalog into something "human readable"
> 
> Hello,
> 
> Is there anyway to parse a catalog generated with something like:-
> 
> puppet master --compile <host> > <hostname>.cat
> 
> That looks vaguely human readable. I have tried the "puppet catalog
> print" face but cannot seem to get it to parse for some reason
> 
> # puppet catalog print --catalog /var/tmp/<hostname>.cat
> err: undefined method `preferred_run_mode=' for
> #<Puppet::Util::Settings:0x7fa5ef9d6948>
> err: Try 'puppet help catalog print' for usage
> 
> This is on a 2.7.16 master BTW


the print face needs puppet 3.

you can try an older version that was just a script @ 
https://github.com/ripienaar/puppet-parselocalconfig/tree/5430c173d373052f0cdf764cb30a590ec3e729d1

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to