]> review.fuel-infra Code Review - puppet-modules/puppet-ceilometer.git/commitdiff
Fail puppet-lint on warnings
authorMathieu Gagné <mgagne@iweb.com>
Wed, 28 Aug 2013 17:21:53 +0000 (13:21 -0400)
committerMathieu Gagné <mgagne@iweb.com>
Wed, 28 Aug 2013 17:26:34 +0000 (13:26 -0400)
Puppet-lint will now fail if there is any warnings.

Change-Id: I49e181bdfd0b27a61bf7242accd352a3625eaf93

Rakefile

index 3adf8337c774e86bd5b4a3f03caddd1cf82c5a52..4c2b2ed07ea36b9e1dd56d0db96bd3a4d9bb9011 100644 (file)
--- a/Rakefile
+++ b/Rakefile
@@ -1,5 +1,6 @@
 require 'puppetlabs_spec_helper/rake_tasks'
 require 'puppet-lint/tasks/puppet-lint'
 
+PuppetLint.configuration.fail_on_warnings = true
 PuppetLint.configuration.send('disable_80chars')
 PuppetLint.configuration.send('disable_class_parameter_defaults')