forked from voxpupuli/puppet-nfs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Gemfile
64 lines (57 loc) · 3.22 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
source ENV['GEM_SOURCE'] || 'https://rubygems.org'
def location_for(place, fake_version = nil)
if place =~ %r{^(git[:@][^#]*)#(.*)}
[fake_version, { git: Regexp.last_match(1), branch: Regexp.last_match(2), require: false }].compact
elsif place =~ /^file:\/\/(.*)/
['>= 0', { path: File.expand_path(Regexp.last_match(1)), require: false }]
else
[place, { require: false }]
end
end
group :test do
gem 'metadata-json-lint', require: false
gem 'puppet-blacksmith', require: false, git: 'https://github.com/voxpupuli/puppet-blacksmith.git'
gem 'puppet-lint', require: false, git: 'https://github.com/rodjek/puppet-lint.git'
gem 'puppet-lint-absolute_classname-check', require: false
gem 'puppet-lint-classes_and_types_beginning_with_digits-check', require: false
gem 'puppet-lint-leading_zero-check', require: false
gem 'puppet-lint-trailing_comma-check', require: false
gem 'puppet-lint-unquoted_string-check', require: false
gem 'puppet-lint-variable_contains_upcase', require: false
gem 'puppet-lint-version_comparison-check', require: false
gem 'puppet-strings', require: false, git: 'https://github.com/puppetlabs/puppetlabs-strings.git', branch: 'main'
gem 'puppet-syntax', require: false
gem 'puppetlabs_spec_helper', require: false
gem 'semantic_puppet', require: false
gem 'rake', require: false
gem 'rspec', require: false
gem 'rspec-core', require: false
gem 'rspec-puppet', require: false, git: 'https://github.com/rodjek/rspec-puppet.git'
gem 'rspec-puppet-facts', require: false
gem 'rspec-puppet-utils', require: false
gem 'rubocop', require: false
gem 'rubocop-rspec', require: false
gem 'voxpupuli-release', require: false, git: 'https://github.com/voxpupuli/voxpupuli-release-gem.git'
end
group :development do
gem 'guard-rake', require: false
gem 'travis', require: false
gem 'travis-lint', require: false
end
if RUBY_VERSION >= '2.3.0'
group :acceptance do
gem 'beaker', '~> 4.0'
gem 'beaker-puppet_install_helper'
gem 'beaker-puppet'
gem 'beaker-docker'
gem 'beaker-rspec'
end
end
if facterversion = ENV['FACTER_GEM_VERSION']
gem 'facter', facterversion.to_s, require: false, groups: [:test]
else
gem 'facter', require: false, groups: [:test]
end
puppetversion = ENV['PUPPET_VERSION'].nil? ? '~> 4.0' : ENV['PUPPET_VERSION'].to_s
gem 'puppet', puppetversion, require: false, groups: [:test]
# vim:ft=ruby