Pin puppet max version to 6.4.2
There is a bug in 6.5.0 [1] that causes failures. This issue is fixed in 6.6.0 which is not released yet so we cap the maximum version to use for now until that is released. See example failure [2]. [1] https://tickets.puppetlabs.com/browse/PUP-9794 [2] https://review.opendev.org/#/c/667576/ Change-Id: Id756311dc7216d039fd2ce34e2fe892992ddeddc
This commit is contained in:
parent
484415a246
commit
63737d7f89
@ -20,7 +20,9 @@ Gem::Specification.new do |spec|
|
|||||||
spec.add_dependency 'puppet-lint', ['2.3.6']
|
spec.add_dependency 'puppet-lint', ['2.3.6']
|
||||||
spec.add_dependency 'puppetlabs_spec_helper'
|
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
|
spec.add_dependency 'puppet', puppetversion
|
||||||
|
|
||||||
# TODO(tobias-urdin): We need to bump this to 2.7.1 soon which will cause strict checking
|
# TODO(tobias-urdin): We need to bump this to 2.7.1 soon which will cause strict checking
|
||||||
|
Loading…
Reference in New Issue
Block a user