From ea58155a5c1e68d27df82b72c9b8bb3f5f1f066e Mon Sep 17 00:00:00 2001 From: Martin Meinhold Date: Mon, 19 Dec 2016 17:23:51 +0100 Subject: [PATCH] Remove redundant puppet-lint 1.1.0 workarounds --- Rakefile | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/Rakefile b/Rakefile index f392199..aa689e1 100644 --- a/Rakefile +++ b/Rakefile @@ -11,16 +11,8 @@ exclude_paths = [ 'vendor/**/*', ] -# Puppet-Lint 1.1.0 -Rake::Task[:lint].clear -PuppetLint::RakeTask.new :lint do |config| - config.disable_checks = ['80chars', 'class_inherits_from_params_class'] - config.fail_on_warnings = true - config.ignore_paths = exclude_paths -end -# Puppet-Lint 1.1.0 as well ... -PuppetLint.configuration.relative = true - +PuppetLint.configuration.fail_on_warnings = true +PuppetLint.configuration.ignore_paths = exclude_paths PuppetSyntax.exclude_paths = exclude_paths task :test => [