[Puppet Users] Re: Pre-commit hooks for your modules?

2013-06-03 Thread Corey Osman
Here is what I have: Essentially I use the command line tools instead of ruby functions. This tells me exactly where the problem is down to the line number. +1 for checking the erb files, I'll have to add that to my script. I have the json check for my hieradata since I keep hiera in JSON

[Puppet Users] Re: Pre-commit hooks for your modules?

2012-12-10 Thread llowder
On Monday, December 10, 2012 4:27:26 PM UTC-6, Jakov Sosic wrote: Hi. I was wondering what kind of precommit hooks are you guys using? Here is what I use: #!/bin/bash # pre-commit git hook to check the validity of a puppet manifest # # Prerequisites: # gem install puppet-lint puppet #