Skip to content

Commit

Permalink
Remove redundant puppet-lint 1.1.0 workarounds
Browse files Browse the repository at this point in the history
  • Loading branch information
tohuwabohu committed Dec 19, 2016
1 parent cc12a73 commit ea58155
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions Rakefile
Expand Up @@ -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 => [
Expand Down

0 comments on commit ea58155

Please sign in to comment.