Disable the deprecation warnings as errors for puppet-syntax
Recently puppet4 started deprecating ruby 2.0
with the following commit: e9eda7ed56
One way to work-around this (in the absence of a more recent ruby version) is to
not treat this deprecation warnings as fatal when doing the puppet syntax check
Change-Id: I8575064411ed54a29adb181375fc822a672ea6c3
Closes-Bug: #1661200
This commit is contained in:
parent
7f22b7f433
commit
49ee82dc15
1
Rakefile
1
Rakefile
|
@ -33,6 +33,7 @@ PuppetSyntax.exclude_paths ||= []
|
||||||
PuppetSyntax.exclude_paths << "**/spec/fixtures/**/*"
|
PuppetSyntax.exclude_paths << "**/spec/fixtures/**/*"
|
||||||
PuppetSyntax.exclude_paths << "**/pkg/**/*"
|
PuppetSyntax.exclude_paths << "**/pkg/**/*"
|
||||||
PuppetSyntax.exclude_paths << "**/vendor/**/*"
|
PuppetSyntax.exclude_paths << "**/vendor/**/*"
|
||||||
|
PuppetSyntax.fail_on_deprecation_notices = false
|
||||||
|
|
||||||
|
|
||||||
# Main task list
|
# Main task list
|
||||||
|
|
Loading…
Reference in New Issue