b7d7799863
When running with BEAKER_provision=no, the following happens: In Trusty: beaker is running dpkg with '--force' option so even if Puppet is already installed, the return code will be 0. In CentOS: beaker is running 'rpm -ivh' the second time and since the package is already here, the return code will be 1. Using the new puppet install helper will abort installing puppet if BEAKER_provision is no, so tests will continue as normal. Change-Id: I74117c30d2eae269ac3e1e578943fefbd42b55b1 Co-Authored-By: Colleen Murphy <colleen@gazlene.net>
37 lines
1.3 KiB
Ruby
37 lines
1.3 KiB
Ruby
source ENV['GEM_SOURCE'] || "https://rubygems.org"
|
|
|
|
group :development, :test do
|
|
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
|
|
|
|
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']
|
|
gem 'puppet', puppetversion, :require => false
|
|
else
|
|
gem 'puppet', :require => false
|
|
end
|
|
|
|
# vim:ft=ruby
|