-
Notifications
You must be signed in to change notification settings - Fork 44
/
Gemfile
77 lines (69 loc) · 3 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
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
group :test do
gem "rspec-core", '3.5.4', :require => false
gem "rspec-puppet", '2.5.0', :require => false
gem 'puppetlabs_spec_helper', '2.1.0', :require => false
gem 'rspec-puppet-facts', '1.7.1', :require => false
gem "puppet-syntax", '2.1.0', :require => false
gem 'metadata-json-lint', '1.1.0', :require => false
gem 'simplecov', :require => false
gem 'json', '1.8.5', :require => false
gem "puppet-blacksmith", :require => false
gem 'pry', '<= 0.9.8', :require => false
gem 'puppet-lint', '2.0.2', :require => false
gem 'puppet-lint-unquoted_string-check', :require => false
gem 'puppet-lint-empty_string-check', :require => false
gem 'puppet-lint-leading_zero-check', :require => false
gem 'puppet-lint-variable_contains_upcase', :require => false
gem 'puppet-lint-spaceship_operator_without_tag-check', :require => false
gem 'puppet-lint-absolute_classname-check', :require => false
gem 'puppet-lint-undef_in_function-check', :require => false
gem 'puppet-lint-roles_and_profiles-check', :require => false
# gem "rspec-puppet", :require => false
# gem 'ci_reporter', :require => false
end
group :development do
gem 'travis'
gem 'travis-lint'
# gem "beaker", :git => 'https://github.com/puppetlabs/beaker.git'
# gem "beaker-rspec"
end
# group :system_tests do
# if beaker_version = ENV['BEAKER_VERSION']
# gem 'beaker', *location_for(beaker_version)
# end
# if beaker_rspec_version = ENV['BEAKER_RSPEC_VERSION']
# gem 'beaker-rspec', *location_for(beaker_rspec_version)
# else
# gem 'beaker-rspec', :require => false
# end
# gem 'serverspec', :require => false
# gem 'beaker-puppet_install_helper', :require => false
# end
# puppet requires json_pure; json_pure > 2.0.1 requires Ruby 2
# so force the older json_pure in the case of older ruby
gem 'json_pure', '< 2.0.2', :require => false, :platforms => [:ruby_18, :ruby_19]
if puppetversion = ENV['PUPPET_GEM_VERSION']
gem 'puppet', puppetversion, :require => false
else
gem 'puppet', :require => false
end
if facterversion = ENV['FACTER_GEM_VERSION']
gem 'facter', facterversion, :require => false
else
gem 'facter', :require => false
end
if hieraversion = ENV['HIERA_GEM_VERSION']
gem 'hiera', hieraversion, :require => false
else
gem 'hiera', :require => false
end