On 04/11/2013 05:22 PM, Dan White wrote:

> puppet-lint does not like template files at all.
> I keep getting this: ERROR: Syntax error (try running `puppet parser validate 
> <file>`)

puppet-lint checks adherence to codestyle.

For erb's you can check syntax with something like this:


$ erb -x -T - mytemplate.erb | ruby -c

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to