On 12/14/2012 03:00 AM, Jagga Soorma wrote:
Hi Guys,

I am new to puppet so please let me know if this is not the correct
place for asking this question.  I am setting up a new puppet
environment running the latest 3.x version.  I have the puppet master
and client setup correctly and tested with deploying a simple file to
the client.  Now, I am working on adding all the configs to SVN since I
will have all my users checkout the nodes.pp file and place their node
entries in this file via SVN.  I would like to do some check on this
file before it is checked in to make sure there are no syntax errors.  I
am using the following pre-commit scirpt that I came across online:

Take a look at my precommit script and modify it to suit SVN... You will need puppet & rubygem-puppet-lint to get it to work:

http://kosjenka.srce.hr/~jsosic/puppet/check_puppet.rb




--
Jakov Sosic
www.srce.unizg.hr

--
You received this message because you are subscribed to the Google Groups "Puppet 
Users" group.
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