summaryrefslogtreecommitdiffstats
path: root/puppet
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2017-02-22 16:00:03 +0000
committerGerrit Code Review <review@openstack.org>2017-02-22 16:00:03 +0000
commit5be125e1171671960f0593d2f14ecf7f3d4abba5 (patch)
tree03a07e140359c9e595412f37a93336bc3c83d36e /puppet
parentf3772c6b0ab5550fc80c53b624d780a04545fbc6 (diff)
parentbbe274862de5bfb317b9d44684556cb200c17f08 (diff)
Merge "Adding upgrade steps to congress service"
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