Skip to content
This repository has been archived by the owner on Dec 31, 2024. It is now read-only.

Commit

Permalink
fail on linter warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
jhoblitt committed Jun 7, 2015
1 parent 93f8bf7 commit e8319ac
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,13 @@ PuppetLint.configuration.ignore_paths = [
'spec/**/*.pp',
'tests/**/*.pp',
]
PuppetLint::RakeTask.new :lint do |config|
config.pattern = 'manifests/**/*.pp'
config.fail_on_warnings = true
end

task :default => [
:syntax,
:lint,
:spec,
]

0 comments on commit e8319ac

Please sign in to comment.