-----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/GrowlManifestErrors http://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----- --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
