Make the Gemfile respond to PUPPET_VERSION

This commit is contained in:
Nate Riffe 2014-12-12 09:40:26 -06:00
parent 98af3eefa4
commit 8f52013c14

10
Gemfile
View File

@ -1,3 +1,11 @@
source :rubygems
source 'https://rubygems.org'
if ENV.key?('PUPPET_VERSION')
puppetversion = "= #{ENV['PUPPET_VERSION']}"
else
puppetversion = "~> 3.4.1"
end
gem 'rake'
gem 'puppet', puppetversion
gem 'puppet-lint'