This thing is nice that way: https://github.com/drwahl/puppet-git-hooks
I recommend using the pre-receive hook on the server side. That way you can skip awkward conversations about how people should go the extra mile and exceed expectations by installing git hooks locally. Instead you get to have less awkward conversations about how people shouldn't push garbage to git repositories. On Wed, Feb 01, 2017 at 11:54:04PM +0000, Rob Nelson wrote: > It might be a good idea to add `puppet parser validate` and puppet-lint to > your pre commit hooks, they should help catch most similar issues. > On Wed, Feb 1, 2017 at 12:26 PM Joshua Schaeffer > <[1][email protected]> wrote: > > That should be $color = > > Wow, I knew it was something simple. I swear I looked at that for 10 > minutes straight and couldn't find the syntax error. Thanks for pointing > it out. I corrected the syntax error and it's all working correctly now. > Thanks, > Joshua > > -- > 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 [2][email protected]. > To view this discussion on the web visit > > [3]https://groups.google.com/d/msgid/puppet-users/dd919198-940a-41b7-8028-003227488d73%40googlegroups.com. > For more options, visit [4]https://groups.google.com/d/optout. > > -- > Rob Nelson > > -- > 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 [5][email protected]. > To view this discussion on the web visit > > [6]https://groups.google.com/d/msgid/puppet-users/CAC76iT9x6A4gdfNO-3UAKz7xeq%3DPi7kJF3eDT38nU49fh2%3D7BQ%40mail.gmail.com. > For more options, visit [7]https://groups.google.com/d/optout. > > References > > Visible links > 1. mailto:[email protected] > 2. mailto:[email protected] > 3. > https://groups.google.com/d/msgid/puppet-users/dd919198-940a-41b7-8028-003227488d73%40googlegroups.com?utm_medium=email&utm_source=footer > 4. https://groups.google.com/d/optout > 5. mailto:[email protected] > 6. > https://groups.google.com/d/msgid/puppet-users/CAC76iT9x6A4gdfNO-3UAKz7xeq%3DPi7kJF3eDT38nU49fh2%3D7BQ%40mail.gmail.com?utm_medium=email&utm_source=footer > 7. https://groups.google.com/d/optout -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/20170202202539.GA11574%40iniquitous.heresiarch.ca. For more options, visit https://groups.google.com/d/optout.
