Hello Eric,
Thanks for the link.
My bad, did not think about looking into puppet svn modules :-/

Will try it asap,
Regards,
JB

Le 12/08/2010 11:24, Eric Heydrick a écrit :
On Thu, 12 Aug 2010, Jean Baptiste FAVRE wrote:

Hello list,
I'm planning to deploy and use Puppet at work.
For this, I've set up a SVN server to keep track of all changes in
modules&  manifests.

Reading documentation to be able to define coding rules, I want to put
some SVN hooks to ensure for correct syntax and coding rules respect.

Does anybody here use such scripts ? Are some public version available ?
Or am I wrong going this way ?

We have an SVN post-commit hook that does a syntax check on manifests and
templates. It could be extended to enforce coding standards if you wanted.
The script is contained within http://forge.puppetlabs.com/ghoneycutt/svn
or grab it directly at
http://github.com/ghoneycutt/puppet-svn/raw/master/files/puppet/hooks/pre-commit

-Eric


--
You received this message because you are subscribed to the Google Groups "Puppet 
Users" group.
To post to this group, send email to puppet-us...@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