system-config/Rakefile
Paul Belanger e592a964f7 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
2012-11-26 18:50:00 +00:00

6 lines
201 B
Ruby

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')