1 heat_template_version: 2014-10-16
3 A template which demonstrates doing boot-time installation of the required
4 files for script based software deployments.
5 This template expects to be created with an environment which defines
6 the resource type Heat::InstallConfigAgent such as
7 ../boot-config/fedora_pip_env.yaml
16 type: OS::Heat::SoftwareConfig
26 echo "Writing to /tmp/$bar"
28 echo -n "The file /tmp/$bar contains `cat /tmp/$bar` for server $deploy_server_id during $deploy_action" > $heat_outputs_path.result
29 echo "Written to /tmp/$bar"
30 echo "Output to stderr" 1>&2
33 type: OS::Heat::SoftwareDeployment
35 signal_transport: TEMP_URL_SIGNAL
45 type: OS::Heat::SoftwareDeployment
47 signal_transport: TEMP_URL_SIGNAL
62 type: Heat::InstallConfigAgent
65 type: OS::Nova::Server
67 image: {get_param: image}
68 flavor: 2 GB Performance
69 software_config_transport: POLL_TEMP_URL
70 user_data_format: SOFTWARE_CONFIG
71 user_data: {get_attr: [boot_config, config]}
76 get_attr: [deployment, result]
79 get_attr: [deployment, deploy_stdout]
82 get_attr: [deployment, deploy_stderr]
85 get_attr: [deployment, deploy_status_code]
88 get_attr: [other_deployment, result]