Skip to content
This repository
Fetching contributors…

Cannot retrieve contributors at this time

file 25 lines (21 sloc) 0.689 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
source 'https://rubygems.org'

def location_for(place, fake_version = nil)
  if place =~ /^(git:[^#]*)#(.*)/
    [fake_version, { :git => $1, :branch => $2, :require => false }].compact
  elsif place =~ /^file:\/\/(.*)/
    ['>= 0', { :path => File.expand_path($1), :require => false }]
  else
    [place, { :require => false }]
  end
end

gem 'puppet', *location_for(ENV['PUPPET_VERSION'], '>= 2.7.0')
gem 'facter', '>= 1.6.2'

group :test, :development do
  gem 'rspec', '~> 2.10.0'
  gem 'mocha', '~> 0.10.5'
  gem 'rspec-puppet', :git => 'https://github.com/rodjek/rspec-puppet'
  gem 'rake'
end

if File.exists? "#{__FILE__}.local"
  eval(File.read("#{__FILE__}.local"), binding)
end
Something went wrong with that request. Please try again.