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:
Mathieu Gagné 2013-08-28 14:29:37 -04:00
parent 08a1141f16
commit ceee58426a
1 changed files with 2 additions and 0 deletions

View File

@ -1,5 +1,7 @@
require 'puppetlabs_spec_helper/rake_tasks'
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_class_parameter_defaults')