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
(cherry picked from commit 4194764359)
This commit is contained in:
Michele Baldessari 2017-02-01 11:03:18 +01:00 committed by Emilien Macchi
parent 3ce937ea34
commit ea15dca9c7
1 changed files with 1 additions and 1 deletions

View File

@ -3,4 +3,4 @@ require 'puppet-lint/tasks/puppet-lint'
PuppetLint.configuration.fail_on_warnings = true
PuppetLint.configuration.send('disable_80chars')
PuppetSyntax.fail_on_deprecation_notices = false