instack-undercloud/Rakefile
Michele Baldessari 4194764359 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
2017-02-01 12:32:51 +01:00

7 lines
232 B
Ruby

require 'puppetlabs_spec_helper/rake_tasks'
require 'puppet-lint/tasks/puppet-lint'
PuppetLint.configuration.fail_on_warnings = true
PuppetLint.configuration.send('disable_80chars')
PuppetSyntax.fail_on_deprecation_notices = false