1 heat_template_version: pike
4 Example extra config for post-deployment, this re-runs every update
6 # Note extra parameters can be defined, then passed data via the
7 # environment parameter_defaults, without modifying the parent template
11 # This is provided via parameter_defaults from tripleoclient
12 # it changes to a new timestamp every update, so we can use it to
13 # trigger the deployment to run even though it and the config are
19 Setting this to a unique value will re-run any deployment tasks which perform configuration on a Heat stack-update.
24 type: OS::Heat::SoftwareConfig
28 - name: deploy_identifier
31 echo "extra_update $deploy_identifier" >> /root/extra_update
34 type: OS::Heat::SoftwareDeployments
36 name: ExtraDeployments
37 servers: {get_param: servers}
38 config: {get_resource: ExtraConfig}
39 # Do this on CREATE/UPDATE (which is actually the default)
40 actions: ['CREATE', 'UPDATE']
42 deploy_identifier: {get_param: DeployIdentifier}