aboutsummaryrefslogtreecommitdiffstats
path: root/puppet/services/heat-engine.yaml
diff options
context:
space:
mode:
authorSteven Hardy <shardy@redhat.com>2016-12-01 10:04:09 +0000
committerSteven Hardy <shardy@redhat.com>2017-01-13 14:10:55 +0000
commit399a0480175952883ec87ddafcea4c383255fecd (patch)
tree0fba9161a8b5bd1661cb8753c2d5d67dc28ce34d /puppet/services/heat-engine.yaml
parent11f3bde268f705cf2eb3ba26b338de4fd7e95ac3 (diff)
Add heat service support for composable upgrades
Change-Id: Idbbff1e7b3947a8a381ddae172006d724a98a344 Partially-Implements: blueprint overcloud-upgrades-per-service
Diffstat (limited to 'puppet/services/heat-engine.yaml')
-rw-r--r--puppet/services/heat-engine.yaml10
1 files changed, 10 insertions, 0 deletions
diff --git a/puppet/services/heat-engine.yaml b/puppet/services/heat-engine.yaml
index 8faccd2b..6efb0653 100644
--- a/puppet/services/heat-engine.yaml
+++ b/puppet/services/heat-engine.yaml
@@ -137,3 +137,13 @@ outputs:
keystone:
# This is needed because the keystone profile handles creating the domain
tripleo::profile::base::keystone::heat_admin_password: {get_param: HeatStackDomainAdminPassword}
+ upgrade_tasks:
+ - name: Stop heat_engine service
+ tags: step2
+ service: name=openstack-heat-engine state=stopped
+ - name: Sync heat_engine DB
+ tags: step5
+ command: heat-manage --config-file /etc/heat/heat.conf db_sync
+ - name: Start heat_engine service
+ tags: step6
+ service: name=openstack-heat-engine state=started