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
Closes-Bug: #1660943
Change-Id: I3d7d9c05016920b21d383cbf1d24a1a862e1c19a
This commit is contained in:
parent
c891931f5f
commit
4194764359
2
Rakefile
2
Rakefile
|
@ -3,4 +3,4 @@ require 'puppet-lint/tasks/puppet-lint'
|
||||||
|
|
||||||
PuppetLint.configuration.fail_on_warnings = true
|
PuppetLint.configuration.fail_on_warnings = true
|
||||||
PuppetLint.configuration.send('disable_80chars')
|
PuppetLint.configuration.send('disable_80chars')
|
||||||
|
PuppetSyntax.fail_on_deprecation_notices = false
|
||||||
|
|
Loading…
Reference in New Issue