http://www.puppetcookbook.com/posts/simple-syntax-check-manifests.html
with caveats ...
with caveats ...
[red@mypuppet-master modules]$ puppet --parseonly eiryum/manifests/init.pp
--parseonly has been removed. Please use 'puppet parser validate <manifest>'
[red@mypuppet-master modules]$ puppet parser validate redyum/manifests/init.pp
- Debugging puppet functions:
$/opt/puppet/bin/ruby -rpuppet /etc/puppetlabs/puppet/modules/rpz/lib/puppet/parser/functions/list_allow_updates.rb
- Debugging
init.pp
: http://www.puppetcookbook.com/posts/simple-syntax-check-manifests.html
[red@mypuppet-master modules]$ puppet parser validate redyum/manifests/init.pp err: Could not parse for environment production: Syntax error at 'class' at /etc/puppetlabs/puppet/modules/redyum/manifests/init.pp:3err: Try 'puppet help parser validate' for usage