Skip to content
This repository was archived by the owner on Aug 29, 2018. It is now read-only.

Commit 5931ac3

Browse files
committed
Make puppet-lint warnings failures
We have most of the annoying puppet-lint checks disabled so we'll turn warnings into failures so that Travis-CI properly informs us of issues.
1 parent 4a8aba5 commit 5931ac3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Rakefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ require 'puppet-syntax/tasks/puppet-syntax'
44

55
# puppet-lint parameters per puppet approved criteria
66
# https://forge.puppetlabs.com/approved/criteria#validation
7-
PuppetLint.configuration.fail_on_warnings
7+
PuppetLint.configuration.fail_on_warnings = true
88
PuppetLint.configuration.send("disable_80chars")
99
PuppetLint.configuration.send("relative")
1010
# http://puppet-lint.com/checks/class_inherits_from_params_class/

0 commit comments

Comments
 (0)