Fail puppet-lint on warnings

Puppet-lint will now fail if there is any warnings.

Change-Id: I2f778193f447a5b3656315bfc6004d65b389fba0
(cherry picked from commit 17a8fe4b33)
This commit is contained in:
Mathieu Gagné 2013-08-28 20:09:37 -04:00
parent 4b83f8c96d
commit 5861888292
1 changed files with 1 additions and 0 deletions

View File

@ -1,6 +1,7 @@
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')
PuppetLint.configuration.send('disable_class_inherits_from_params_class')