646a6cd15f
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: I410ebcc23bdc27ae0e632d1f330cab374cbc8912 Co-Authored-By: Colleen Murphy <colleen@gazlene.net>
32 lines
833 B
Ruby
32 lines
833 B
Ruby
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 'beaker-rspec', :require => false
|
|
gem 'beaker-puppet_install_helper', :require => false
|
|
gem 'json'
|
|
gem 'webmock'
|
|
end
|
|
|
|
if puppetversion = ENV['PUPPET_GEM_VERSION']
|
|
gem 'puppet', puppetversion, :require => false
|
|
else
|
|
gem 'puppet', :require => false
|
|
end
|
|
|
|
# vim:ft=ruby
|