aboutsummaryrefslogtreecommitdiffstats
path: root/puppet
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2017-03-03 22:08:26 +0000
committerGerrit Code Review <review@openstack.org>2017-03-03 22:08:26 +0000
commit37c517116bae4f167fc61fc69279eba0b1732e7b (patch)
tree60b708b99f933b3a88c35e5e37fb56d3b1190f38 /puppet
parent9c27e4986ccea607d6dc9dbd4c79297d4ca79fed (diff)
parent04035a820d3868c2d7eca3e78ece8319c46100f3 (diff)
Merge "Fix Panko API upgrade process" into stable/ocata
Diffstat (limited to 'puppet')
-rw-r--r--puppet/services/panko-api.yaml6
1 files changed, 5 insertions, 1 deletions
diff --git a/puppet/services/panko-api.yaml b/puppet/services/panko-api.yaml
index 254d7c24..eed98257 100644
--- a/puppet/services/panko-api.yaml
+++ b/puppet/services/panko-api.yaml
@@ -87,7 +87,7 @@ outputs:
upgrade_tasks:
- name: Check if httpd is deployed
command: systemctl is-enabled httpd
- tags: step0,validation
+ tags: common
ignore_errors: True
register: httpd_enabled
- name: "PreUpgrade step0,validation: Check if httpd is running"
@@ -99,3 +99,7 @@ outputs:
- name: Stop panko-api service (running under httpd)
tags: step1
service: name=httpd state=stopped
+ when: httpd_enabled.rc == 0
+ - name: Install openstack-panko-api package if it was not installed
+ tags: step3
+ yum: name=openstack-panko-api state=latest