summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColleen Murphy <colleen.murphy@suse.de>2018-07-10 13:47:42 +0200
committerColleen Murphy <colleen.murphy@suse.de>2018-07-10 13:55:33 +0200
commit2d4e2178fe356824200a6108360f4abe10fdcc68 (patch)
treed22ebb2a33b2bfb49305b575a51974ead6272856
parent3b44d63528d0b6a2fd1ac4fde7bfba2ad67d9185 (diff)
Pin statsd to version 2.1.2
The os-performance-tools library currently caps its statsd dependency at <3.0[1]. If we try to install latest, puppet will succeed at installing it in the first place, but upon the next run it will see that it is not using the latest and try to upgrade and fail due to the cap. Add the pin so that it doesn't try and fail to install something it can't. [1] http://git.openstack.org/cgit/openstack/os-performance-tools/tree/requirements.txt?id=d96d5145fa5facdfd7a4e5ea2811948f0efd465e#n7 Change-Id: I37303d3b23cf5c387511292a8e128faa1f9df9ae
Notes
Notes (review): Code-Review+2: Monty Taylor <mordred@inaugust.com> Code-Review+2: Clark Boylan <cboylan@sapwetik.org> Workflow+1: Clark Boylan <cboylan@sapwetik.org> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Wed, 01 Aug 2018 23:10:36 +0000 Reviewed-on: https://review.openstack.org/581334 Project: openstack-infra/puppet-subunit2sql Branch: refs/heads/master
-rw-r--r--manifests/init.pp6
1 files changed, 5 insertions, 1 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 785288f..8bc2042 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -95,7 +95,11 @@ class subunit2sql (
95 95
96 if ! defined(Package['statsd']) { 96 if ! defined(Package['statsd']) {
97 package { 'statsd': 97 package { 'statsd':
98 ensure => latest, 98 # NOTE(cmurphy) If this is not pinned, the openstack_pip provider will
99 # attempt to install latest and conflict with the <3 cap from
100 # os-performance-tools. Unpin this when os-performance-tools raises its
101 # cap.
102 ensure => '2.1.2',
99 provider => openstack_pip, 103 provider => openstack_pip,
100 require => Class['pip'] 104 require => Class['pip']
101 } 105 }