summaryrefslogtreecommitdiff
path: root/Gemfile
diff options
context:
space:
mode:
Diffstat (limited to 'Gemfile')
-rw-r--r--Gemfile12
1 files changed, 9 insertions, 3 deletions
diff --git a/Gemfile b/Gemfile
index 0120ece..e960f7c 100644
--- a/Gemfile
+++ b/Gemfile
@@ -1,4 +1,4 @@
-source 'https://rubygems.org'
+source ENV['GEM_SOURCE'] || "https://rubygems.org"
group :development, :test do
gem 'rake', :require => false
@@ -6,12 +6,18 @@ group :development, :test do
gem 'puppetlabs_spec_helper', :require => false
gem 'serverspec', :require => false
gem 'puppet-lint', :require => false
+ gem 'beaker', :require => false
+ gem 'beaker-rspec', :require => false
gem 'pry', :require => false
- gem 'beaker-rspec', '~>2.2', :require => false
- gem 'rspec', '~>2.14', :require => false
gem 'simplecov', :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