root/other-projects/hathitrust/vagrant-solr-cluster/trunk/modules/stdlib/Gemfile @ 30960

Revision 30960, 1.8 KB (checked in by davidb, 3 years ago)

Switch to using Puppet to provision machine. Strongly based on files developed for spark-hdfs cluster

Line 
1#This file is generated by ModuleSync, do not edit.
2
3source ENV['GEM_SOURCE'] || "https://rubygems.org"
4
5def location_from_env(env, default_location = [])
6  if location = ENV[env]
7    if location =~ /^((?:git|https?)[:@][^#]*)#(.*)/
8      [{ :git => $1, :branch => $2, :require => false }]
9    elsif location =~ /^file:\/\/(.*)/
10      ['>= 0', { :path => File.expand_path($1), :require => false }]
11    else
12      [location, { :require => false }]
13    end
14  else
15    default_location
16  end
17end
18
19group :development, :unit_tests do
20  gem 'metadata-json-lint'
21  gem 'puppet_facts'
22  gem 'puppet-blacksmith', '>= 3.4.0'
23  gem 'puppetlabs_spec_helper', '>= 1.2.1'
24  gem 'rspec-puppet', '>= 2.3.2', :git => 'https://github.com/rodjek/rspec-puppet.git', :branch => 'fb27c533e2664057fba4b73d0bd902a946abfce0'
25  # the newly released mocha 1.2.0 causes hangs during spec testing. See MODULES-3958 for a long-term solution
26  gem 'mocha', '< 1.2.0'
27  gem 'rspec-puppet-facts'
28  gem 'simplecov'
29  gem 'parallel_tests'
30  gem 'rubocop', '0.41.2' if RUBY_VERSION < '2.0.0'
31  gem 'rubocop' if RUBY_VERSION >= '2.0.0'
32  gem 'rubocop-rspec', '~> 1.6' if RUBY_VERSION >= '2.3.0'
33  gem 'json_pure', '<= 2.0.1' if RUBY_VERSION < '2.0.0'
34end
35group :system_tests do
36  gem 'beaker', *location_from_env('BEAKER_VERSION', []) if RUBY_VERSION >= '2.3.0'
37  gem 'beaker', *location_from_env('BEAKER_VERSION', ['< 3']) if RUBY_VERSION < '2.3.0'
38  gem 'beaker-rspec', *location_from_env('BEAKER_RSPEC_VERSION', ['>= 3.4'])
39  gem 'serverspec'
40  gem 'beaker-puppet_install_helper'
41  gem 'master_manipulator'
42  gem 'beaker-hostgenerator', *location_from_env('BEAKER_HOSTGENERATOR_VERSION', [])
43end
44
45gem 'facter', *location_from_env('FACTER_GEM_VERSION')
46gem 'puppet', *location_from_env('PUPPET_GEM_VERSION')
47
48if File.exists? "#{__FILE__}.local"
49  eval(File.read("#{__FILE__}.local"), binding)
50end
Note: See TracBrowser for help on using the browser.