Dear Juan

- puppet parser validate file.pp (Validate the syntax of one or more 
> Puppet manifests). 
>
> - puppet-lint file.pp (Check that your Puppet manifest conform to the 
> style guide) this one must installed using gems package manager: gem 
> install puppet-lint 
>

That's exactly what I was looking for =)

Check all .pp files in a directory 
> find -name '*.pp' | xargs -n 1 -t puppet parser validate 
> find -name '*.pp' | xargs -n 1 -t puppet-lint 
>

Didn't knew about the "-n 1" trick instead of making a loop =)

Hugs,
Sandra


 

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/puppet-users/-/psnPqXTYy4AJ.
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