Enable --fail-on-warnings for puppet-lint

In preperation for making gate-ci-puppet-lint voting, we need to toggle
warnings into errors.

Change-Id: Ifcd431931eea9bf4672261db77a1a1ba25fa3435
Signed-off-by: Paul Belanger <paul.belanger@polybeacon.com>
Reviewed-on: https://review.openstack.org/16831
Reviewed-by: Monty Taylor <mordred@inaugust.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Approved: Clark Boylan <clark.boylan@gmail.com>
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Tested-by: Jenkins
This commit is contained in:
Paul Belanger 2012-11-24 18:20:28 -05:00 committed by Jenkins
parent e449f7d323
commit e592a964f7

View File

@ -1,4 +1,5 @@
require 'rubygems'
require 'puppetlabs_spec_helper/rake_tasks'
require 'puppet-lint/tasks/puppet-lint'
PuppetLint.configuration.fail_on_warnings = true
PuppetLint.configuration.send('disable_80chars')