puppet-parse
Analyse puppet manifests and report what classes and defines are specified, and their parameters and parameter documentation.
Installation
gem install puppet-parse
Requirements
puppet >2.7, <3.0
rdoc
I think there's a bug in Puppet 3.0 which is breaking things. So don't use with Puppet 3.0 yet.
Usage
By hand
You can test one or more manifests by running
puppet-parse <path(s) to file(s)>
Rake tast
If you want to parse your entire modules directory, you can add `require 'puppet-parse/puppet-parse' to your Rakefile and then run
rake parse
Contributing
You can do any of these:
- Create new Pull Request
- Create an issue
- Write me an email
- Complain about how useless my code is on twitter