A Continuous Integration server like Hudson will allow you to poll the GIT repo and make loud noises if the syntax check fails.
J. 2009/4/23 Mark Plaksin <ha...@usg.edu>: > > Hi: > > We want to switch our Puppet config repository from SVN to Git. Our SVN > repository has a pre-commit hook that does a syntax check. If the check > fails, the commit fails. With SVN that hook runs on the server so it's > easy to have (the correct version of) the puppet binary there for the > hook to use. > > With Git it looks like the pre-commit hook has to run wherever a person > happens to have checked out the Git repository. That could be a > desktop, laptop...just about anywhere. It's harder to make sure the > correct version of Puppet is in all of those places. > > Is there a pretty way to solve this problem? How do you do it? > > Is there, perhaps, a way to create a standalone syntax checker that > doesn't require the rest of Puppet? > > Thanks! > > > > > -- Julian Simpson Software Build and Deployment http://www.build-doctor.com --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---