07764a05ff
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 commit4194764359
)
7 lines
232 B
Ruby
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
|