forked from puppetlabs-toy-chest/puppetlabs-dism
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Gemfile
47 lines (41 loc) · 1.7 KB
/
Gemfile
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
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_LOCATION'] || '~> 3.4.0')
gem "facter", *location_for(ENV['FACTER_LOCATION'] || '~> 1.6')
gem "hiera", *location_for(ENV['HIERA_LOCATION'] || '~> 1.0')
beaker_version = ENV['BEAKER_VERSION']
group :development, :test do
gem 'rspec', '~> 2.14.0', :require => false
gem 'mocha'
gem 'mime-types', '<2.0', :require => false
gem 'rake', :require => false
gem 'puppetlabs_spec_helper', :require => false
gem 'serverspec', :require => false
gem 'puppet-lint', :require => false
gem 'pry', :require => false
gem 'simplecov', :require => false
gem 'beaker-rspec', :require => false, :platforms => :ruby
end
# see http://projects.puppetlabs.com/issues/21698
platforms :mswin, :mingw do
gem "sys-admin", "~> 1.5.6", :require => false
gem "win32-dir", "~> 0.3.7", :require => false
gem "win32-eventlog", "~> 0.5.3", :require => false
gem "win32-process", "~> 0.6.5", :require => false
gem "win32-security", "~> 0.1.4", :require => false
gem "win32-service", "~> 0.7.2", :require => false
gem "win32-taskscheduler", "~> 0.2.2", :require => false
gem "win32console", "~> 1.3.2", :require => false
gem "minitar", "~> 0.5.4", :require => false
end
if File.exists? "#{__FILE__}.local"
eval(File.read("#{__FILE__}.local"), binding)
end