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:
parent
4b83f8c96d
commit
5861888292
1
Rakefile
1
Rakefile
|
@ -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')
|
||||
|
|
Loading…
Reference in New Issue