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