Browse Source

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
tags/3.0.0-rc2
Mathieu Gagné 5 years ago
parent
commit
ceee58426a
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      Rakefile

+ 2
- 0
Rakefile View File

@@ -1,5 +1,7 @@
1 1
 require 'puppetlabs_spec_helper/rake_tasks'
2 2
 require 'puppet-lint/tasks/puppet-lint'
3 3
 
4
+PuppetLint.configuration.fail_on_warnings = true
5
+PuppetLint.configuration.send('disable_names_containing_dash')
4 6
 PuppetLint.configuration.send('disable_80chars')
5 7
 PuppetLint.configuration.send('disable_class_parameter_defaults')

Loading…
Cancel
Save