On 1/20/16 1:33 PM, Garrett Honeycutt wrote:
Hi Ramin,
It sounds like you have a repo with a bunch of modules as opposed to one
repo per module. Recommend using a script that calls puppet-lint with
the arguments that you would like and integrating that into a pre-commit
check or a build pipeline.
I never use .puppt-lint.rc, instead you would normally have a
Rakefile[1] that would configure puppet-lint and run the tests with
`rake lint`.
See my last post under the subject 'Slightly Off-Topic: CI Test of
Puppet module fail' for how to configure it that way.
[1] - https://github.com/ghoneycutt/puppet-module-ssh/blob/master/Rakefile
Best regards,
-g
Thanks for the hint. A Rakefile will work and would be a nice place to
do environment sanity checks too.
Ramin
--
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 puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/puppet-users/56A04E2B.2080600%40badapple.net.
For more options, visit https://groups.google.com/d/optout.