aboutsummaryrefslogtreecommitdiff
path: root/Gemfile
diff options
context:
space:
mode:
authorRaphaël Pinson <raphael.pinson@camptocamp.com>2014-10-20 09:43:30 +0200
committerRaphaël Pinson <raphael.pinson@camptocamp.com>2014-10-20 09:43:30 +0200
commit4cdd8a1456c0977bc9a55eeacce3890bfa317edf (patch)
tree2559a8d3121421f4f98fc99c35de1d0d9be945b2 /Gemfile
parentb47fb8a3653b7b9ec99723815885e0f7b83909c8 (diff)
downloadpuppet-dhcp-4cdd8a1456c0977bc9a55eeacce3890bfa317edf.tar.gz
puppet-dhcp-4cdd8a1456c0977bc9a55eeacce3890bfa317edf.tar.bz2
Sync module
Diffstat (limited to 'Gemfile')
-rw-r--r--Gemfile29
1 files changed, 20 insertions, 9 deletions
diff --git a/Gemfile b/Gemfile
index a500d9e..cff878d 100644
--- a/Gemfile
+++ b/Gemfile
@@ -1,13 +1,24 @@
-source :rubygems
+source ENV['GEM_SOURCE'] || "https://rubygems.org"
-if ENV.key?('PUPPET_VERSION')
- puppetversion = "= #{ENV['PUPPET_VERSION']}"
+group :development, :test do
+ gem 'rake', :require => false
+ gem 'rspec-puppet', :require => false
+ gem 'puppetlabs_spec_helper', :require => false
+ gem 'puppet-lint', :require => false
+ gem 'pry', :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
- puppetversion = ['>= 2.7']
+ gem 'puppet', :require => false
end
-gem 'rake'
-gem 'puppet-lint'
-gem 'rspec-puppet'
-gem 'puppet', puppetversion
-gem 'puppetlabs_spec_helper', '>= 0.4.0'
+# vim:ft=ruby