diff options
author | Mickaël Canévet <mickael.canevet@camptocamp.com> | 2015-02-18 09:12:37 +0100 |
---|---|---|
committer | Mickaël Canévet <mickael.canevet@camptocamp.com> | 2015-02-18 09:12:37 +0100 |
commit | 552eea0e37f734fa63515fda3b22e7aa3447d118 (patch) | |
tree | e6536a178f601dd55eba11e299d1b321766f7a1d /Rakefile | |
parent | cd320afde760a9c2d9f1660196c89cb521ec8330 (diff) | |
download | puppet-dhcp-552eea0e37f734fa63515fda3b22e7aa3447d118.tar.gz puppet-dhcp-552eea0e37f734fa63515fda3b22e7aa3447d118.tar.bz2 |
Fix puppet-lint configuration
Diffstat (limited to 'Rakefile')
-rw-r--r-- | Rakefile | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -2,10 +2,11 @@ require 'puppetlabs_spec_helper/rake_tasks' require 'puppet-lint/tasks/puppet-lint' Rake::Task[:lint].clear -PuppetLint.configuration.fail_on_warnings -PuppetLint.configuration.send('relative') -PuppetLint.configuration.send('disable_80chars') -PuppetLint.configuration.ignore_paths = ["spec/**/*.pp", "pkg/**/*.pp", "vendor/**/*.pp"] +PuppetLint::RakeTask.new :lint do |config| + config.ignore_paths = ["spec/**/*.pp", "pkg/**/*.pp", "vendor/**/*.pp"] + config.disable_checks = ['80chars'] + config.fail_on_warnings = true +end PuppetSyntax.exclude_paths = ["spec/fixtures/**/*.pp", "vendor/**/*"] |