-
Notifications
You must be signed in to change notification settings - Fork 34
Expand file tree
/
Copy pathGemfile
More file actions
30 lines (23 loc) · 715 Bytes
/
Gemfile
File metadata and controls
30 lines (23 loc) · 715 Bytes
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
source 'https://rubygems.org'
puppet_version = ENV.key?('PUPPET_VERSION') ? "= #{ENV['PUPPET_VERSION']}" : ['>= 2.7']
parallel_version = RUBY_VERSION.start_with?("1.8") ? "= 1.3.3" : nil
rake_version = RUBY_VERSION.start_with?("1.8") ? "= 10.5.0" : nil
# FIXME: get rid of this pattern magic ..
if RUBY_VERSION =~ /^2\.(2|3)\./ && puppet_version =~ /^= 3.(7|8)\./
gem "safe_yaml"
end
gem "rake", rake_version
gem "puppet", puppet_version
gem "builder"
gem "parallel", parallel_version
if RUBY_VERSION.start_with?("1.8")
gem "json_pure", "= 1.8.3"
end
gem "hiera"
gem "hiera-puppet"
group :test do
gem "mocha", "~> 0.13", :require => false
if RUBY_VERSION =~ /^2\.(2|3)/
gem "test-unit"
end
end