summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authortphoney <tp@puppet.com>2016-08-03 17:06:25 +0100
committertphoney <tp@puppet.com>2016-08-08 15:02:25 +0100
commit6e7e69fe203e042b28aacb01301c338d55448c5f (patch)
tree8250e2fed853d18036e9e3121454a7c1362b2064 /Rakefile
parent16a26f6ab40a4b1d7e6836ff6de24850f0b8fb35 (diff)
(modules-3533) deprecation for 3.x number function
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Rakefile b/Rakefile
index 8906d23..47a671e 100644
--- a/Rakefile
+++ b/Rakefile
@@ -8,7 +8,11 @@ PuppetLint.configuration.send('disable_140chars')
PuppetLint.configuration.send('disable_class_inherits_from_params_class')
PuppetLint.configuration.send('disable_documentation')
PuppetLint.configuration.send('disable_single_quote_string_with_variables')
-PuppetLint.configuration.ignore_paths = ["spec/**/*.pp", "pkg/**/*.pp", "bundle/**/*", "vendor/**/*"]
+PuppetLint.configuration.ignore_paths = ["spec/**/*.pp", "pkg/**/*.pp", "bundle/**/*", "vendor/**/*", "types/**/*"]
+
+if Puppet.version.to_f < 4.0
+ PuppetSyntax.exclude_paths << "types/**/*"
+end
desc 'Generate pooler nodesets'
task :gen_nodeset do