summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEmilien Macchi <emilien@redhat.com>2017-02-12 14:51:23 -0500
committerEmilien Macchi <emilien@redhat.com>2017-02-13 13:42:34 +0000
commitef7b38a3dfb7eb307e31a5e23f6b10a7fd28256d (patch)
tree8a878a3b7d24db2ad77375400070fb054b312d54
parentd56aa7a2df50926ca8e79b9d51211a5db0e55536 (diff)
nova-placement: support upgrade
Upgrade nova-placement service with Ansible. Change-Id: I43cac37afbc8b39708389895d9f7350b6bd4bcfd
-rw-r--r--puppet/services/nova-placement.yaml4
1 files changed, 4 insertions, 0 deletions
diff --git a/puppet/services/nova-placement.yaml b/puppet/services/nova-placement.yaml
index 82b83561..4cbebae4 100644
--- a/puppet/services/nova-placement.yaml
+++ b/puppet/services/nova-placement.yaml
@@ -118,3 +118,7 @@ outputs:
nova::db::mysql_placement::allowed_hosts:
- '%'
- "%{hiera('mysql_bind_host')}"
+ upgrade_tasks:
+ - name: Stop nova_placement service (running under httpd)
+ tags: step2
+ service: name=httpd state=stopped