Fail puppet-lint on warnings

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

Disable 'class_inherits_from_params_class' check.

Change-Id: Ia1d7fa5109178f040b00abcdb3f7d84c4bdf58b4
This commit is contained in:
Mathieu Gagné 2013-08-28 17:58:03 -04:00
parent 272c6063ac
commit 48ac3fb090
2 changed files with 3 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_80chars')
PuppetLint.configuration.send('disable_class_inherits_from_params_class')
PuppetLint.configuration.send('disable_class_parameter_defaults')

View File

@ -1,3 +1,4 @@
#
define keystone::db::mysql::host_access(
$user,
$password,