summaryrefslogtreecommitdiffstats
path: root/Rakefile
diff options
context:
space:
mode:
authorEmilien Macchi <emilien@redhat.com>2017-02-01 08:57:58 -0500
committerEmilien Macchi <emilien@redhat.com>2017-02-01 08:57:58 -0500
commita81ccd80db07571a8b094b905112935bc42b4b7f (patch)
tree23cd24d3cb411b1f844c3140fda5946911a1a3cd /Rakefile
parent7e0bd173a3b4ee24305ead56df52d42b82784cac (diff)
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
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile1
1 files changed, 1 insertions, 0 deletions
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