From 516c1af657c07cdf29695292e7d92a92bbae36cc Mon Sep 17 00:00:00 2001 From: Bill Hurt Date: Thu, 10 Jan 2019 07:55:26 -0800 Subject: [PATCH] (MAINT) Add Plans Path Exclusion The Puppet parser cannot yet handle bolt plan syntax. Without this exlusion adding plans to a module causes CI to fail in Appveyor because the default lint checks will fail. --- lib/puppetlabs_spec_helper/rake_tasks.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/puppetlabs_spec_helper/rake_tasks.rb b/lib/puppetlabs_spec_helper/rake_tasks.rb index af8f2935..08182ad8 100644 --- a/lib/puppetlabs_spec_helper/rake_tasks.rb +++ b/lib/puppetlabs_spec_helper/rake_tasks.rb @@ -202,6 +202,7 @@ PuppetSyntax.exclude_paths << 'spec/fixtures/**/*' PuppetSyntax.exclude_paths << 'pkg/**/*' PuppetSyntax.exclude_paths << 'vendor/**/*' +PuppetSyntax.exclude_paths << 'plans/*' if Puppet.version.to_f < 4.0 PuppetSyntax.exclude_paths << 'types/**/*' end