Skip to content

Commit 7aae63b

Browse files
Merge pull request #347 from ekohl/make-lint-fatal-again
Configure puppet-lint to fail on warnings again
2 parents a4f45bc + ed2520d commit 7aae63b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/puppetlabs_spec_helper/rake_tasks.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,7 @@
171171
# Must clear as it will not override the existing puppet-lint rake task since we require to import for
172172
# the PuppetLint::RakeTask
173173
Rake::Task[:lint].clear
174+
PuppetLint.configuration.fail_on_warnings = true
174175
# Utilize PuppetLint global configuration so that these settings can be tweaked by
175176
# spec_helper.rb in an individual module
176177
PuppetLint.configuration.relative = true

0 commit comments

Comments
 (0)