Fail puppet-lint on warnings

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

Change-Id: I49e181bdfd0b27a61bf7242accd352a3625eaf93
(cherry picked from commit ffde8588fd)
This commit is contained in:
Mathieu Gagné 2013-08-28 13:21:53 -04:00
parent a11c81c073
commit 78f0f3738c
1 changed files with 1 additions and 0 deletions

View File

@ -1,5 +1,6 @@
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')