On 3/25/14, 8:46 AM, Paolo Supino wrote: > Hi > > Being lazy and forgetful a while ago I wrote a small bash shell script > that checks puppet manifests and ruby code embedded in templates. > > I'm posting it to the group in hope that others will find it useful and > suggest improvements... :-) > > > > Paolo >
Hi, I have a Rakefile[1] that lets you run 'rake validate' to validate syntax of all manifests, templates, and ruby files. Here is an example[2] of using Travis[3] to validate your files. In the example the files must pass validation, style, and spec tests to be valid. [1] - https://github.com/ghoneycutt/puppet-module-skeleton/blob/master/Rakefile [2] - https://github.com/ghoneycutt/puppet-module-skeleton/blob/master/.travis.yml#L13 [3] - https://travis-ci.org/ Best regards, -g -- Garrett Honeycutt @learnpuppet Puppet Training with LearnPuppet.com Mobile: +1.206.414.8658 -- 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/53317C1C.20702%40garretthoneycutt.com. For more options, visit https://groups.google.com/d/optout.
