Most of my stuff is in git, so I use a pre-commit to validate it but here is the puppet command you can use.
cat manifest.pp | puppet --color=false --parseonly --ignoreimport On Wed, Feb 23, 2011 at 7:58 AM, Thomas Hallgren <[email protected]> wrote: > Hi, > > In Geppetto, we'd like some way of validating a module. In essence, the > validator should verify that all manifests, types, etc. are syntactically > correct and contains needed entries. I'm curious if there is some existing > code in puppet that does something similar that we could call on? > > - thomas > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Developers" 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-dev?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Puppet Developers" 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-dev?hl=en.
