Merge pull request #522 from 3flex/puppet-lint
Update puppet-lint config
This commit is contained in:
commit
ba4b67a02d
2 changed files with 9 additions and 5 deletions
|
@ -1,5 +0,0 @@
|
|||
--fail-on-warnings
|
||||
--relative
|
||||
--no-80chars-check
|
||||
--no-class_inherits_from_params_class-check
|
||||
--no-documentation-check
|
9
Rakefile
9
Rakefile
|
@ -10,3 +10,12 @@ require 'puppet_blacksmith/rake_tasks'
|
|||
require 'rspec-system/rake_task'
|
||||
|
||||
task :default => [:clean, :spec]
|
||||
|
||||
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_class_parameter_defaults')
|
||||
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