diff options
author | tphoney <tp@puppet.com> | 2016-08-03 17:06:25 +0100 |
---|---|---|
committer | tphoney <tp@puppet.com> | 2016-08-08 15:02:25 +0100 |
commit | 6e7e69fe203e042b28aacb01301c338d55448c5f (patch) | |
tree | 8250e2fed853d18036e9e3121454a7c1362b2064 /Rakefile | |
parent | 16a26f6ab40a4b1d7e6836ff6de24850f0b8fb35 (diff) |
(modules-3533) deprecation for 3.x number function
Diffstat (limited to 'Rakefile')
-rw-r--r-- | Rakefile | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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 |