Match Puppet version used on servers
OpenDev's legacy Puppet-based configuration management on Ubuntu Xenial is using the puppet-agent version corresponding to puppet 4.10.12, but our spec helper was still testing with older puppet 3.8. Update here to match what we use in production, for better fidelity and also to hopefully work around some issues with its older vendored YAML parser. Also adjust version requirements for json_pure and nokogiri which were unsettled by the puppet bump. Change-Id: Ia302186851159ec8c32ebb46e28a15fe9c0f5456
This commit is contained in:
parent
1e6387b109
commit
619783f683
@ -21,7 +21,7 @@ Gem::Specification.new do |spec|
|
||||
# rake 12.3.0 requires Ruby version ~> 2.0
|
||||
spec.add_dependency 'rake', ['< 12.3.0']
|
||||
# dependencies that are needed to run puppet-lint
|
||||
spec.add_dependency 'puppet', [ '~> 3.8']
|
||||
spec.add_dependency 'puppet', [ '~> 4.10']
|
||||
spec.add_dependency 'puppetlabs_spec_helper'
|
||||
# metadata-job-lint 2.0 requires Ruby version ~> 2.0
|
||||
spec.add_dependency 'metadata-json-lint', ['< 2.0.0']
|
||||
@ -43,13 +43,15 @@ Gem::Specification.new do |spec|
|
||||
# google-api-client requires Ruby version ~> 2.0
|
||||
spec.add_dependency 'google-api-client', ['0.9.4']
|
||||
# latest json_pure requires Ruby version ~> 2.0
|
||||
spec.add_dependency 'json_pure', ['2.0.1']
|
||||
# puppet 4.10.12 requires json_pure ~> 1.8
|
||||
spec.add_dependency 'json_pure', ['~> 1.8']
|
||||
# latest specinfra broke us, we pin it until we figure what's wrong.
|
||||
spec.add_dependency 'specinfra', ['2.59.0']
|
||||
# fast_gettext 1.2.0+ requires ruby 2.1.0 which is not available on centos7
|
||||
spec.add_dependency 'fast_gettext', ['< 1.2.0']
|
||||
# nokogiri 1.7.0+ requires ruby 2.1.0 which is not available on centos7
|
||||
spec.add_dependency 'nokogiri', ['< 1.7.0']
|
||||
# fog 1.34.0 requires nokogiri ~> 1.5
|
||||
spec.add_dependency 'nokogiri', ['~> 1.5']
|
||||
# fog-aws 2.0.0 requires ruby 2.0 which is not available on trusty
|
||||
spec.add_dependency 'fog-aws', ['< 2.0.0']
|
||||
# fog-core 1.44.0 requires xmlrpc 0.3.0 which requires ruby 2.3.0 which is not available on centos7
|
||||
|
Loading…
Reference in New Issue
Block a user