2016-04-05 15:32:06 +02:00
|
|
|
#This file is generated by ModuleSync, do not edit.
|
2014-03-05 21:43:58 +01:00
|
|
|
|
2016-04-05 15:32:06 +02:00
|
|
|
source ENV['GEM_SOURCE'] || "https://rubygems.org"
|
|
|
|
|
|
|
|
def location_for(place, version = nil)
|
2014-03-11 17:21:37 +01:00
|
|
|
if place =~ /^(git[:@][^#]*)#(.*)/
|
2016-04-05 15:32:06 +02:00
|
|
|
[version, { :git => $1, :branch => $2, :require => false}].compact
|
2014-03-11 17:21:37 +01:00
|
|
|
elsif place =~ /^file:\/\/(.*)/
|
2016-04-05 15:32:06 +02:00
|
|
|
['>= 0', { :path => File.expand_path($1), :require => false}]
|
2014-03-11 17:21:37 +01:00
|
|
|
else
|
2016-04-05 15:32:06 +02:00
|
|
|
[place, version, { :require => false}].compact
|
2014-03-11 17:21:37 +01:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2014-11-10 20:56:40 +01:00
|
|
|
group :development, :unit_tests do
|
2016-04-05 15:32:06 +02:00
|
|
|
gem 'json', :require => false
|
|
|
|
gem 'metadata-json-lint', :require => false
|
|
|
|
gem 'puppet_facts', :require => false
|
|
|
|
gem 'puppet-blacksmith', :require => false
|
|
|
|
gem 'puppetlabs_spec_helper', :require => false
|
|
|
|
gem 'rspec-puppet', '>= 2.3.2', :require => false
|
|
|
|
gem 'simplecov', :require => false
|
2014-11-10 20:56:40 +01:00
|
|
|
end
|
|
|
|
group :system_tests do
|
2016-04-05 15:32:06 +02:00
|
|
|
gem 'beaker-rspec', *location_for(ENV['BEAKER_RSPEC_VERSION'] || '>= 3.4')
|
|
|
|
gem 'beaker', *location_for(ENV['BEAKER_VERSION'])
|
|
|
|
gem 'serverspec', :require => false
|
|
|
|
gem 'beaker-puppet_install_helper', :require => false
|
|
|
|
gem 'master_manipulator', :require => false
|
|
|
|
gem 'beaker-hostgenerator', *location_for(ENV['BEAKER_HOSTGENERATOR_VERSION'])
|
2014-03-05 21:43:58 +01:00
|
|
|
end
|
|
|
|
|
2016-04-05 15:32:06 +02:00
|
|
|
gem 'facter', *location_for(ENV['FACTER_GEM_VERSION'])
|
|
|
|
gem 'puppet', *location_for(ENV['PUPPET_GEM_VERSION'])
|
2015-02-12 20:43:34 +01:00
|
|
|
|
2014-03-05 21:43:58 +01:00
|
|
|
|
2016-04-05 15:32:06 +02:00
|
|
|
if File.exists? "#{__FILE__}.local"
|
|
|
|
eval(File.read("#{__FILE__}.local"), binding)
|
|
|
|
end
|