Merge "Unpin puppet gem version selection"
This commit is contained in:
commit
409c1ea758
@ -5,12 +5,7 @@
|
|||||||
set -e
|
set -e
|
||||||
set -x
|
set -x
|
||||||
if [ "{{ puppet_gem_version }}" != "latest" ]; then
|
if [ "{{ puppet_gem_version }}" != "latest" ]; then
|
||||||
if [ "{{ puppet_gem_version }}" == "5.5" ]; then
|
export PUPPET_GEM_VERSION='~> {{ puppet_gem_version }}'
|
||||||
# Pin to 5.5.6. See PUP-9270 and PUP-9271
|
|
||||||
export PUPPET_GEM_VERSION='{{ puppet_gem_version }}.6'
|
|
||||||
else
|
|
||||||
export PUPPET_GEM_VERSION='~> {{ puppet_gem_version }}.0'
|
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
# TODO(tobias-urdin): Remove when we dont pin rspec-puppet
|
# TODO(tobias-urdin): Remove when we dont pin rspec-puppet
|
||||||
export RSPEC_PUPPET_VERSION='{{ rspec_puppet_version }}'
|
export RSPEC_PUPPET_VERSION='{{ rspec_puppet_version }}'
|
||||||
|
@ -4,12 +4,7 @@
|
|||||||
shell:
|
shell:
|
||||||
cmd: |
|
cmd: |
|
||||||
if [ "{{ puppet_gem_version }}" != "latest" ]; then
|
if [ "{{ puppet_gem_version }}" != "latest" ]; then
|
||||||
if [ "{{ puppet_gem_version }}" == "5.5" ]; then
|
export PUPPET_GEM_VERSION='~> {{ puppet_gem_version }}'
|
||||||
# Pin to 5.5.6. See PUP-9270 and PUP-9271
|
|
||||||
export PUPPET_GEM_VERSION='{{ puppet_gem_version }}.6'
|
|
||||||
else
|
|
||||||
export PUPPET_GEM_VERSION='~> {{ puppet_gem_version }}.0'
|
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
# TODO(tobias-urdin): Remove when we dont pin rspec-puppet
|
# TODO(tobias-urdin): Remove when we dont pin rspec-puppet
|
||||||
export RSPEC_PUPPET_VERSION='{{ rspec_puppet_version }}'
|
export RSPEC_PUPPET_VERSION='{{ rspec_puppet_version }}'
|
||||||
|
Loading…
Reference in New Issue
Block a user