Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Projets publics
Puppet Camptocamp Postfix
Commits
9057ca22
Commit
9057ca22
authored
Feb 18, 2015
by
Mickaël Canévet
Browse files
Fix puppet-lint configuration
parent
89055a99
Changes
1
Hide whitespace changes
Inline
Side-by-side
Rakefile
View file @
9057ca22
...
...
@@ -2,10 +2,11 @@ require 'puppetlabs_spec_helper/rake_tasks'
require
'puppet-lint/tasks/puppet-lint'
Rake
::
Task
[
:lint
].
clear
PuppetLint
.
configuration
.
fail_on_warnings
PuppetLint
.
configuration
.
send
(
'relative'
)
PuppetLint
.
configuration
.
send
(
'disable_80chars'
)
PuppetLint
.
configuration
.
ignore_paths
=
[
"spec/**/*.pp"
,
"pkg/**/*.pp"
,
"vendor/**/*.pp"
]
PuppetLint
::
RakeTask
.
new
:lint
do
|
config
|
config
.
ignore_paths
=
[
"spec/**/*.pp"
,
"pkg/**/*.pp"
,
"vendor/**/*.pp"
]
config
.
disable_checks
=
[
'80chars'
]
config
.
fail_on_warnings
=
true
end
PuppetSyntax
.
exclude_paths
=
[
"spec/fixtures/**/*.pp"
,
"vendor/**/*"
]
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment