summaryrefslogtreecommitdiffstats
path: root/puppet
diff options
context:
space:
mode:
authorDan Radez <dradez@redhat.com>2017-02-13 09:23:33 -0500
committerPradeep Kilambi <pkilambi@redhat.com>2017-02-20 23:59:04 +0000
commitbbe274862de5bfb317b9d44684556cb200c17f08 (patch)
treeed72a07f44e00c19c18a45625f6d261c29defeb9 /puppet
parentc94e09eeac08e537c1a68850ff77f37c1eb43bda (diff)
Adding upgrade steps to congress service
Change-Id: I79169baf4c59e9325355992288de2e9ad8088e3b
Diffstat (limited to 'puppet')
-rw-r--r--puppet/services/congress.yaml8
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