summaryrefslogtreecommitdiffstats
path: root/Gemfile
diff options
context:
space:
mode:
authorCody Herriges <cody@herriges.org>2015-08-04 11:53:56 -0700
committerSebastien Badia <sbadia@redhat.com>2015-08-18 14:30:54 +0200
commite879bb607009ecf7f7d48e5210409408e5a17f44 (patch)
treec9d883aaa4d01d6a4cbd097c79a79539d7d5c176 /Gemfile
parent4ba15f8918ea34a2de49f68ab66229d5c30adaf9 (diff)
Initial msync run for all Puppet OpenStack modules
This patch is the initial modulesync run, it impacts: * gitignore: just a sync between projects * gemfile: - update and allow to setup facter version and gem source - split beaker gems with a dedicated group - switch to rspec-puppet 2.2.0 * rakefile: - use the new syntax for lint configuration - add a acceptance target * acceptance: - sync nodesets - update tests in order to use zuul-cloner * spec: added rspec coverage report Change-Id: Iadefbe2cc0525224e9917c6712712c67ce1e0fff
Diffstat (limited to 'Gemfile')
-rw-r--r--Gemfile42
1 files changed, 23 insertions, 19 deletions
diff --git a/Gemfile b/Gemfile
index 10b37ac..6d4ce9a 100644
--- a/Gemfile
+++ b/Gemfile
@@ -1,26 +1,30 @@
-source 'https://rubygems.org'
+source ENV['GEM_SOURCE'] || "https://rubygems.org"
group :development, :test do
- gem 'puppetlabs_spec_helper', :require => false
- gem 'rspec-puppet', '~> 2.1.0', :require => false
-
- gem 'metadata-json-lint'
- gem 'puppet-lint-param-docs'
- gem 'puppet-lint-absolute_classname-check'
- gem 'puppet-lint-absolute_template_path'
- gem 'puppet-lint-trailing_newline-check'
-
- # Puppet 4.x related lint checks
- gem 'puppet-lint-unquoted_string-check'
- gem 'puppet-lint-leading_zero-check'
- gem 'puppet-lint-variable_contains_upcase'
- gem 'puppet-lint-numericvariable'
+ gem 'puppetlabs_spec_helper', :require => 'false'
+ gem 'rspec-puppet', '~> 2.2.0', :require => 'false'
+ gem 'metadata-json-lint', :require => 'false'
+ gem 'puppet-lint-param-docs', :require => 'false'
+ gem 'puppet-lint-absolute_classname-check', :require => 'false'
+ gem 'puppet-lint-absolute_template_path', :require => 'false'
+ gem 'puppet-lint-trailing_newline-check', :require => 'false'
+ gem 'puppet-lint-unquoted_string-check', :require => 'false'
+ gem 'puppet-lint-leading_zero-check', :require => 'false'
+ gem 'puppet-lint-variable_contains_upcase', :require => 'false'
+ gem 'puppet-lint-numericvariable', :require => 'false'
+ gem 'json', :require => 'false'
+ gem 'webmock', :require => 'false'
+end
- gem 'json'
- gem 'webmock'
- gem 'r10k'
- gem 'librarian-puppet-simple', '~> 0.0.3'
+group :system_tests do
+ gem 'beaker-rspec', :require => 'false'
+ gem 'beaker-puppet_install_helper', :require => 'false'
+end
+if facterversion = ENV['FACTER_GEM_VERSION']
+ gem 'facter', facterversion, :require => false
+else
+ gem 'facter', :require => false
end
if puppetversion = ENV['PUPPET_GEM_VERSION']