Fail puppet-lint on warnings

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

Change-Id: I2f778193f447a5b3656315bfc6004d65b389fba0
This commit is contained in:
Mathieu Gagné 2013-08-28 20:09:37 -04:00
parent cf064e5910
commit 17a8fe4b33

View File

@ -1,6 +1,7 @@
require 'puppetlabs_spec_helper/rake_tasks' require 'puppetlabs_spec_helper/rake_tasks'
require 'puppet-lint/tasks/puppet-lint' require 'puppet-lint/tasks/puppet-lint'
PuppetLint.configuration.fail_on_warnings = true
PuppetLint.configuration.send('disable_80chars') PuppetLint.configuration.send('disable_80chars')
PuppetLint.configuration.send('disable_class_parameter_defaults') PuppetLint.configuration.send('disable_class_parameter_defaults')
PuppetLint.configuration.send('disable_class_inherits_from_params_class') PuppetLint.configuration.send('disable_class_inherits_from_params_class')