Merge "Pin puppet max version to 6.4.2"

This commit is contained in:
Zuul 2019-06-27 11:06:16 +00:00 committed by Gerrit Code Review
commit d3c711e6a9
1 changed files with 3 additions and 1 deletions

View File

@ -20,7 +20,9 @@ Gem::Specification.new do |spec|
spec.add_dependency 'puppet-lint', ['2.3.6']
spec.add_dependency 'puppetlabs_spec_helper'
puppetversion = ENV.key?('PUPPET_GEM_VERSION') ? ENV['PUPPET_GEM_VERSION'] : ['>= 5.5']
# TODO(tobias-urdin): Remove <= 6.4.2 cap when 6.6.0 is released because of this bug in 6.5.0
# https://tickets.puppetlabs.com/browse/PUP-9794
puppetversion = ENV.key?('PUPPET_GEM_VERSION') ? ENV['PUPPET_GEM_VERSION'] : ['>= 5.5', '<= 6.4.2']
spec.add_dependency 'puppet', puppetversion
# TODO(tobias-urdin): We need to bump this to 2.7.1 soon which will cause strict checking