summaryrefslogtreecommitdiffstats
path: root/puppet/services
diff options
context:
space:
mode:
authorDan Radez <dradez@redhat.com>2017-02-10 13:34:39 -0500
committerDan Radez <dradez@redhat.com>2017-02-20 09:13:50 -0500
commit077c2eeb40bf1e9d5ad011c4c6036614d03886b6 (patch)
tree633593f8c62a1d44e40a403e345153228a7606e9 /puppet/services
parentd5b0c38f0b9ed0e7ca2eb4e1e2f6aaa003268b33 (diff)
Adding upgrade_tasks to tacker
Change-Id: I0d7e151a931d02068dea80d7cf57b99736e689e6
Diffstat (limited to 'puppet/services')
-rw-r--r--puppet/services/tacker.yaml7
1 files changed, 7 insertions, 0 deletions
diff --git a/puppet/services/tacker.yaml b/puppet/services/tacker.yaml
index 5cf09a6d..0f86d60d 100644
--- a/puppet/services/tacker.yaml
+++ b/puppet/services/tacker.yaml
@@ -89,3 +89,10 @@ outputs:
step_config: |
include ::tripleo::profile::base::tacker
+ upgrade_tasks:
+ - name: "PreUpgrade step0,validation: Check service openstack-tacker-server is running"
+ shell: /usr/bin/systemctl show 'openstack-tacker-server' --property ActiveState | grep '\bactive\b'
+ tags: step0,validation
+ - name: Stop tacker service
+ tags: step2
+ service: name=openstack-tacker-server state=stopped