Skip to content

Commit

Permalink
fix gemfile
Browse files Browse the repository at this point in the history
  • Loading branch information
saz committed Mar 13, 2014
1 parent 3727a2c commit 895cbd0
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions .gemfile
Original file line number Diff line number Diff line change
@@ -1,16 +1,9 @@
source 'https://rubygems.org'

puppetversion = ENV.key?('PUPPET_VERSION') ? "= #{ENV['PUPPET_VERSION']}" : ['>= 3.3']
gem 'puppet', puppetversion
gem 'puppetlabs_spec_helper', '>= 0.1.0', :require => false

if puppetversion = ENV['PUPPET_VERSION']
gem 'puppet', puppetversion, :require => false

if puppetversion[0].chr.to_i < 3
gem 'hiera-puppet', :require => false
end

else
gem 'puppet', :require => false
end
gem 'puppet-lint', '>= 0.3.2'
gem 'facter', '>= 1.7.0', "< 1.8.0"

# vim:ft=ruby

0 comments on commit 895cbd0

Please sign in to comment.