diff options
author | Jenkins <jenkins@review.openstack.org> | 2017-03-03 22:08:26 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2017-03-03 22:08:26 +0000 |
commit | 37c517116bae4f167fc61fc69279eba0b1732e7b (patch) | |
tree | 60b708b99f933b3a88c35e5e37fb56d3b1190f38 /puppet/services/panko-api.yaml | |
parent | 9c27e4986ccea607d6dc9dbd4c79297d4ca79fed (diff) | |
parent | 04035a820d3868c2d7eca3e78ece8319c46100f3 (diff) |
Merge "Fix Panko API upgrade process" into stable/ocata
Diffstat (limited to 'puppet/services/panko-api.yaml')
-rw-r--r-- | puppet/services/panko-api.yaml | 6 |
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 |