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
(cherry picked from commit 49ee82dc15)
This commit is contained in:
Mykyta Karpin 2017-02-02 12:32:50 +02:00
parent 518904de6a
commit af4d0aa90f
1 changed files with 1 additions and 0 deletions

View File

@ -33,6 +33,7 @@ PuppetSyntax.exclude_paths ||= []
PuppetSyntax.exclude_paths << "**/spec/fixtures/**/*"
PuppetSyntax.exclude_paths << "**/pkg/**/*"
PuppetSyntax.exclude_paths << "**/vendor/**/*"
PuppetSyntax.fail_on_deprecation_notices = false
# Main task list