diff options
author | Dan Radez <dradez@redhat.com> | 2017-02-13 09:23:33 -0500 |
---|---|---|
committer | Athlan-Guyot sofer <sathlang@redhat.com> | 2017-03-01 13:23:09 +0000 |
commit | bb9867e01900c11167db291d9e2d4e6373a394d7 (patch) | |
tree | fd44264bc963541f4c1339eba3309e4955e8362a | |
parent | 1ab18342023458c58e6771b94c22ede89c917af3 (diff) |
Adding upgrade steps to congress service
Change-Id: I79169baf4c59e9325355992288de2e9ad8088e3b
(cherry picked from commit bbe274862de5bfb317b9d44684556cb200c17f08)
-rw-r--r-- | puppet/services/congress.yaml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/puppet/services/congress.yaml b/puppet/services/congress.yaml index aa8d9a9a..6855a838 100644 --- a/puppet/services/congress.yaml +++ b/puppet/services/congress.yaml @@ -87,3 +87,11 @@ outputs: step_config: | include ::tripleo::profile::base::congress + + upgrade_tasks: + - name: "PreUpgrade step0,validation: Check service openstack-congress-server is running" + shell: /usr/bin/systemctl show 'openstack-congress-server' --property ActiveState | grep '\bactive\b' + tags: step0,validation + - name: Stop congress service + tags: step2 + service: name=openstack-congress-server state=stopped |