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: If021c5ae7528bced9673923a5ad0027999b79e9b
Related-Bug: #1660943
This commit is contained in:
ZhongShengping 2017-02-13 11:58:05 +08:00
parent d639da88b3
commit 4552c9fe24
1 changed files with 1 additions and 0 deletions

View File

@ -14,6 +14,7 @@ PuppetLint.configuration.send('disable_140chars')
PuppetLint.configuration.send('disable_class_inherits_from_params_class')
PuppetLint.configuration.send('disable_documentation')
PuppetLint.configuration.send('disable_single_quote_string_with_variables')
PuppetSyntax.fail_on_deprecation_notices = false
exclude_paths = %w(
pkg/**/*