Added some config options for puppet-lint.
This commit is contained in:
parent
346248ad48
commit
60d818fe40
1 changed files with 9 additions and 1 deletions
10
Rakefile
10
Rakefile
|
@ -1,3 +1,11 @@
|
|||
require 'puppet-lint/tasks/puppet-lint'
|
||||
|
||||
task :unit_tests => [:lint]
|
||||
task :unit_tests => [:lint]
|
||||
|
||||
PuppetLint.configuration.fail_on_warnings
|
||||
PuppetLint.configuration.send('relative')
|
||||
PuppetLint.configuration.send('disable_80chars')
|
||||
PuppetLint.configuration.send('disable_class_inherits_from_params_class')
|
||||
PuppetLint.configuration.send('disable_documentation')
|
||||
PuppetLint.configuration.send('disable_single_quote_string_with_variables')
|
||||
PuppetLint.configuration.ignore_paths = ["spec/**/*.pp", "pkg/**/*.pp"]
|
Loading…
Reference in a new issue