Commit 9057ca22 authored by Mickaël Canévet's avatar Mickaël Canévet
Browse files

Fix puppet-lint configuration

parent 89055a99
...@@ -2,10 +2,11 @@ require 'puppetlabs_spec_helper/rake_tasks' ...@@ -2,10 +2,11 @@ require 'puppetlabs_spec_helper/rake_tasks'
require 'puppet-lint/tasks/puppet-lint' require 'puppet-lint/tasks/puppet-lint'
Rake::Task[:lint].clear Rake::Task[:lint].clear
PuppetLint.configuration.fail_on_warnings PuppetLint::RakeTask.new :lint do |config|
PuppetLint.configuration.send('relative') config.ignore_paths = ["spec/**/*.pp", "pkg/**/*.pp", "vendor/**/*.pp"]
PuppetLint.configuration.send('disable_80chars') config.disable_checks = ['80chars']
PuppetLint.configuration.ignore_paths = ["spec/**/*.pp", "pkg/**/*.pp", "vendor/**/*.pp"] config.fail_on_warnings = true
end
PuppetSyntax.exclude_paths = ["spec/fixtures/**/*.pp", "vendor/**/*"] PuppetSyntax.exclude_paths = ["spec/fixtures/**/*.pp", "vendor/**/*"]
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment