39a5545c41
Those are hidden resource types in heat. Changing these types would not result in replacement of the resources. Change-Id: I22d23a8f187263bd36e364f0cd3301c830f3220b
29 lines
672 B
YAML
29 lines
672 B
YAML
heat_template_version: rocky
|
|
|
|
description: >
|
|
Example extra config for post-deployment
|
|
|
|
# Note extra parameters can be defined, then passed data via the
|
|
# environment parameter_defaults, without modifying the parent template
|
|
parameters:
|
|
servers:
|
|
type: json
|
|
|
|
resources:
|
|
|
|
ExtraConfig:
|
|
type: OS::Heat::SoftwareConfig
|
|
properties:
|
|
group: script
|
|
config: |
|
|
#!/bin/sh
|
|
echo "extra" > /root/extra
|
|
|
|
ExtraDeployments:
|
|
type: OS::Heat::SoftwareDeploymentGroup
|
|
properties:
|
|
name: ExtraDeployments
|
|
servers: {get_param: servers}
|
|
config: {get_resource: ExtraConfig}
|
|
actions: ['CREATE'] # Only do this on CREATE
|