Fail puppet-lint on warnings
Puppet-lint will now fail if there is any warnings. Disable 'names_containing_dash' check until the remaining classes are completely removed or we find a way to add exceptions. Change-Id: I09c15fcfbac82904a3d90328683d8c39b1bcaf0d
This commit is contained in:
parent
08a1141f16
commit
ceee58426a
2
Rakefile
2
Rakefile
|
@ -1,5 +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_names_containing_dash')
|
||||||
PuppetLint.configuration.send('disable_80chars')
|
PuppetLint.configuration.send('disable_80chars')
|
||||||
PuppetLint.configuration.send('disable_class_parameter_defaults')
|
PuppetLint.configuration.send('disable_class_parameter_defaults')
|
||||||
|
|
Loading…
Reference in New Issue