puppet-openstacklib/Gemfile
ZhongShengping 9aca38c0e3 Load puppet-openstack_spec_helper locally during tests
Change-Id: I2d449b714764236a84d2df9f1733e375ce964ffb
Co-Authored-By: Mohammed Naser <mnaser@vexxhost.com>
2018-02-12 10:53:38 +08:00

28 lines
719 B
Ruby

source ENV['GEM_SOURCE'] || "https://rubygems.org"
group :development, :test, :system_tests do
if ENV['ZUUL_PROJECT'] == 'openstack/puppet-openstack_spec_helper'
gem 'puppet-openstack_spec_helper',
:path => '../..',
:require => 'false'
else
gem 'puppet-openstack_spec_helper',
:git => 'https://git.openstack.org/openstack/puppet-openstack_spec_helper',
:require => 'false'
end
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