Christopher Johnston wrote: > Is there a minimum version of ruby or puppet for it to work? I am open > to running this on my entire puppet tree (close to 53 modules and > growing). > > puppet-lint /etc/puppet/manifests > /usr/lib/ruby/gems/1.8/gems/puppet-lint-0.1.7/bin/../lib/puppet-lint/plugin.rb:43: > warning: parenthesize argument(s) > /usr/lib/ruby/gems/1.8/gems/puppet-lint-0.1.7/bin/../lib/puppet-lint.rb:28:in > `read': Is a directory - /etc/puppet/mE > from > /usr/lib/ruby/gems/1.8/gems/puppet-lint-0.1.7/bin/../lib/puppet-lint.rb:28:in > `file=' > from /usr/lib/ruby/gems/1.8/gems/puppet-lint-0.1.7/bin/puppet-lint:51 > from /usr/bin/puppet-lint:19:in `load' > from /usr/bin/puppet-lint:19 > Christopher
You're trying to read a directory - it needs a file. $ puppet-lint /path/to/file.pp I usually grep all my files in /etc/puppet/manifests or modules and pipe all the .pp files through puppet-lint. Regards James Turnbull -- James Turnbull Puppet Labs 1-503-734-8571 To schedule a meeting with me: http://tungle.me/jamtur01 -- You received this message because you are subscribed to the Google Groups "Puppet Developers" group. To post to this group, send email to puppet-dev@googlegroups.com. To unsubscribe from this group, send email to puppet-dev+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-dev?hl=en.