diff options
author | Raphaël Pinson <raphael.pinson@camptocamp.com> | 2014-10-20 09:43:30 +0200 |
---|---|---|
committer | Raphaël Pinson <raphael.pinson@camptocamp.com> | 2014-10-20 09:43:30 +0200 |
commit | 4cdd8a1456c0977bc9a55eeacce3890bfa317edf (patch) | |
tree | 2559a8d3121421f4f98fc99c35de1d0d9be945b2 /Gemfile | |
parent | b47fb8a3653b7b9ec99723815885e0f7b83909c8 (diff) | |
download | puppet-dhcp-4cdd8a1456c0977bc9a55eeacce3890bfa317edf.tar.gz puppet-dhcp-4cdd8a1456c0977bc9a55eeacce3890bfa317edf.tar.bz2 |
Sync module
Diffstat (limited to 'Gemfile')
-rw-r--r-- | Gemfile | 29 |
1 files changed, 20 insertions, 9 deletions
@@ -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 |