18eac98d88
The puppet_facts gem implicitly depends on the json gem. On Ruby 1.8.7, json is not built in. On Puppet 2.7, it is not explicitly pulled in by the hiera gem. So we add it here explicitly.
30 line
849 B
Ruby
30 line
849 B
Ruby
source ENV['GEM_SOURCE'] || "https://rubygems.org"
|
|
|
|
group :development, :unit_tests do
|
|
gem 'rake', :require => false
|
|
gem 'rspec-puppet', :require => false
|
|
gem 'puppetlabs_spec_helper', :require => false
|
|
gem 'puppet-lint', :require => false
|
|
gem 'simplecov', :require => false
|
|
gem 'puppet_facts', :require => false
|
|
gem 'json', :require => false
|
|
end
|
|
|
|
group :system_tests do
|
|
gem 'beaker-rspec', :require => false
|
|
gem 'serverspec', :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
|