If you use subversion to deploy your manifests, you can also set a
pre-commit hook:

http://reductivelabs.com/trac/puppet/wiki/Recipes/SubversionCommitHooks


El dt 20 de 01 de 2009 a les 23:26 -0800, en/na kevin va escriure:
> 
> 
> On Jan 20, 11:34 pm, James Turnbull <[email protected]> wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > kevin wrote:
> > > How would I check the syntax of a site installation?
> >
> > > Ideally I'd run a command on site.pp, and have the syntax of all the
> > > imported files checked, before i deployed it onto systems.
> >
> > The --parseonly option is used for this, see some examples of its use at:
> >
> > http://reductivelabs.com/trac/puppet/wiki/Recipes/GrowlManifestErrorshttp://reductivelabs.com/trac/puppet/wiki/VersionControlPuppet
> >
> > Cheers
> >
> > James Turnbull
> >
> > - --
> > Author of:
> > * Pulling Strings with Puppet
> > (http://www.amazon.com/gp/product/1590599780/)
> > * Pro Nagios 2.0
> > (http://www.amazon.com/gp/product/1590596099/)
> > * Hardening Linux
> > (http://www.amazon.com/gp/product/1590594444/)
> >
> > -----BEGIN PGP SIGNATURE-----
> > Version: GnuPG v1.4.7 (Darwin)
> > Comment: Using GnuPG with Mozilla -http://enigmail.mozdev.org
> >
> > iD8DBQFJdqXF9hTGvAxC30ARAkivAKCn3dwyQVaIsJ+WVJdW3hz1+U+EUACgim4Q
> > N/RzyWwHYYs4tXqnWxPDLiw=
> > =wqcr
> > -----END PGP SIGNATURE-----
> 
> Thanks again for the great help.
> > 


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to