]> review.fuel-infra Code Review - puppet-modules/puppetlabs-apt.git/commitdiff
Ensure linter fails on lint warnings
authorColleen Murphy <colleen@puppetlabs.com>
Thu, 12 Feb 2015 00:43:14 +0000 (16:43 -0800)
committerColleen Murphy <colleen@puppetlabs.com>
Thu, 12 Feb 2015 20:24:56 +0000 (12:24 -0800)
Rakefile

index e3be95b0b819f1958e6f8b819126650a6c4e893b..181157e6e0883b1959d974a4c3dc1579ad481901 100644 (file)
--- a/Rakefile
+++ b/Rakefile
@@ -1,7 +1,7 @@
 require 'puppetlabs_spec_helper/rake_tasks'
 require 'puppet-lint/tasks/puppet-lint'
 
-PuppetLint.configuration.fail_on_warnings
+PuppetLint.configuration.fail_on_warnings = true
 PuppetLint.configuration.send('relative')
 PuppetLint.configuration.send('disable_80chars')
 PuppetLint.configuration.send('disable_class_inherits_from_params_class')