diff --git a/lib/puppetlabs_spec_helper/rake_tasks.rb b/lib/puppetlabs_spec_helper/rake_tasks.rb index 1571bd30..6d924661 100644 --- a/lib/puppetlabs_spec_helper/rake_tasks.rb +++ b/lib/puppetlabs_spec_helper/rake_tasks.rb @@ -220,7 +220,8 @@ PuppetSyntax.exclude_paths << 'spec/fixtures/**/*' PuppetSyntax.exclude_paths << 'pkg/**/*' PuppetSyntax.exclude_paths << 'vendor/**/*' -PuppetSyntax.exclude_paths << 'plans/*' +PuppetSyntax.exclude_paths << '.vendor/**/*' +PuppetSyntax.exclude_paths << 'plans/**/*' if Puppet.version.to_f < 4.0 PuppetSyntax.exclude_paths << 'types/**/*' end