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
)
23 lines
574 B
Ruby
23 lines
574 B
Ruby
source ENV['GEM_SOURCE'] || "https://rubygems.org"
|
|
|
|
group :development, :test, :system_tests do
|
|
gem 'puppet-openstack_spec_helper',
|
|
:git => 'https://git.openstack.org/openstack/puppet-openstack_spec_helper',
|
|
:branch => 'stable/newton',
|
|
:require => false
|
|
end
|
|
|
|
if facterversion = ENV['FACTER_GEM_VERSION']
|
|
gem 'facter', facterversion, :require => false
|
|
else
|
|
gem 'facter', :require => false
|
|
end
|
|
|
|
if puppetversion = ENV['PUPPET_GEM_VERSION']
|
|
gem 'puppet', puppetversion, :require => false
|
|
else
|
|
gem 'puppet', :require => false
|
|
end
|
|
|
|
# vim:ft=ruby
|