Merge "Deploy versionless keystone endpoints (for keystone only)" into stable/ocata
[apex-tripleo-heat-templates.git] / puppet / services / nova-placement.yaml
index 359a54f..98c446b 100644 (file)
@@ -118,3 +118,12 @@ outputs:
             nova::db::mysql_placement::allowed_hosts:
               - '%'
               - "%{hiera('mysql_bind_host')}"
+      upgrade_tasks:
+        - name: Stop nova_placement service (running under httpd)
+          tags: step1
+          service: name=httpd state=stopped
+        # The nova placement API isn't installed in newton images, so install
+        # it on upgrade
+        - name: Install nova-placement packages on upgrade
+          tags: step3
+          yum: name=openstack-nova-placement-api state=latest