summaryrefslogtreecommitdiffstats
path: root/puppet/services/heat-engine.yaml
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2017-01-16 15:54:07 +0000
committerGerrit Code Review <review@openstack.org>2017-01-16 15:54:07 +0000
commit6ab1c9289d2d9bd45e0d38ba1ac7f5d914b9d7d6 (patch)
tree7f230f71b7a1f2fceec10edfa36f825ae9563a06 /puppet/services/heat-engine.yaml
parent0080df3f4207bed5b0fd2911b626463d9a013d46 (diff)
parent399a0480175952883ec87ddafcea4c383255fecd (diff)
Merge "Add heat service support for composable upgrades"
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