Last modified: 2014-11-07 09:24:14 UTC
in jenkins job/operations-puppet-puppetlint-lenient is it possible to add to puppet-lint: --no-autoloader_layout-check and skip this one check but only if file is under ./manifests/role/ and still let it run if it is under ./modules/ ? reason is that in role class we will never be in autoload layout and always fail with a lot of "not in autoload module layout (autoloader_layout)" while the check DOES make sense for anything in actual module structure under ./modules/ references: https://integration.wikimedia.org/ci/job/operations-puppet-puppetlint-lenient/10629/console http://puppet-lint.com/checks/autoloader_layout/
In the operations/puppet.git repository, you should be able to pass the options to puppet-lint by adding them in /.puppet-lint.rc There is only one there: $ cat .puppet-lint.rc --no-class_parameter_defaults-check $ We can not set the parameters on different path, though we could have two different puppet-lint run. Would it make sense to migrate role class to autloading layout as well?