aboutsummaryrefslogtreecommitdiffstats
path: root/puppet/services/ironic-api.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'puppet/services/ironic-api.yaml')
-rw-r--r--puppet/services/ironic-api.yaml6
1 files changed, 5 insertions, 1 deletions
diff --git a/puppet/services/ironic-api.yaml b/puppet/services/ironic-api.yaml
index c8a2e833..ff91eb63 100644
--- a/puppet/services/ironic-api.yaml
+++ b/puppet/services/ironic-api.yaml
@@ -1,4 +1,4 @@
-heat_template_version: 2016-04-08
+heat_template_version: ocata
description: >
OpenStack Ironic API configured with Puppet
@@ -81,3 +81,7 @@ outputs:
ironic::db::mysql::allowed_hosts:
- '%'
- "%{hiera('mysql_bind_host')}"
+ upgrade_tasks:
+ - name: Stop ironic_api service
+ tags: step2
+ service: name=openstack-ironic-api state=stopped