From a81ccd80db07571a8b094b905112935bc42b4b7f Mon Sep 17 00:00:00 2001 From: Emilien Macchi Date: Wed, 1 Feb 2017 08:57:58 -0500 Subject: Disable the deprecation warnings as errors for puppet-syntax Recently puppet4 started deprecating ruby 2.0 with the following commit: https://github.com/puppetlabs/puppet/commit/e9eda7ed56fddcf185fc155d7e0ae054ea327504 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: Id49c5068ab4609e3da0417af4714e8cb8485f3d1 Closes-Bug: #1660943 --- Rakefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Rakefile b/Rakefile index bca6a6c2..97f47613 100644 --- a/Rakefile +++ b/Rakefile @@ -4,3 +4,4 @@ require 'puppet-lint/tasks/puppet-lint' PuppetLint.configuration.fail_on_warnings = true PuppetLint.configuration.send('disable_80chars') PuppetLint.configuration.send('disable_autoloader_layout') +PuppetSyntax.fail_on_deprecation_notices = false -- cgit 1.2.3-korg