1812fbca25
This commit introduces puppet_facts, a gem that allows easier testing against PE platforms. We're using this gem to automatically parse the metadata.json and test against appropriate versions of PE on platforms we support. We start by only running against centos-6-x86_64 and ubuntu 14.04 on a regular basis but this is implemented as an ENV so it can be overwritten by CI systems to test against all PE platforms.
25 lines
733 B
Ruby
25 lines
733 B
Ruby
source ENV['GEM_SOURCE'] || "https://rubygems.org"
|
|
|
|
group :development, :test do
|
|
gem 'rake', :require => false
|
|
gem 'rspec-puppet', :require => false
|
|
gem 'puppetlabs_spec_helper', :require => false
|
|
gem 'serverspec', :require => false
|
|
gem 'puppet-lint', :require => false
|
|
gem 'beaker-rspec', :require => false
|
|
gem 'puppet_facts', :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
|