From 8b45c656c19f45b0264fcceee4c657a8525d7d75 Mon Sep 17 00:00:00 2001 From: Tim Meusel Date: Sun, 9 Oct 2016 15:27:40 +0200 Subject: [PATCH] allow module specific settings for exclude_paths --- moduleroot/Rakefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/moduleroot/Rakefile b/moduleroot/Rakefile index ba8e4458..01f9b18d 100644 --- a/moduleroot/Rakefile +++ b/moduleroot/Rakefile @@ -24,6 +24,11 @@ exclude_paths = %w( vendor/**/* .vendor/**/* spec/**/* +<%- if @configs['exclude_paths'] -%> +<%- @configs['exclude_paths'].each do |path|-%> + <%= path %> +<%- end -%> +<%- end -%> ) PuppetLint.configuration.ignore_paths = exclude_paths PuppetSyntax.exclude_paths = exclude_paths