1 heat_template_version: 2013-05-23
4 TOSCA template to test usage of different script types like Ansible and Puppet
9 customwebserver2_create_deploy:
10 type: OS::Heat::SoftwareDeployment
13 get_resource: customwebserver2_create_config
16 signal_transport: HEAT_SIGNAL
17 customwebserver_create_deploy:
18 type: OS::Heat::SoftwareDeployment
21 get_resource: customwebserver_create_config
24 signal_transport: HEAT_SIGNAL
26 type: OS::Nova::Server
29 image: ubuntu-12.04-software-config-os-init
30 user_data_format: SOFTWARE_CONFIG
31 software_config_transport: POLL_SERVER_HEAT
32 customwebserver2_start_config:
33 type: OS::Heat::SoftwareConfig
38 customwebserver2_start_deploy:
39 type: OS::Heat::SoftwareDeployment
42 get_resource: customwebserver2_start_config
45 signal_transport: HEAT_SIGNAL
47 - customwebserver2_configure_deploy
48 customwebserver2_create_config:
49 type: OS::Heat::SoftwareConfig
54 customwebserver2_configure_config:
55 type: OS::Heat::SoftwareConfig
58 get_file: configure.py
60 customwebserver2_configure_deploy:
61 type: OS::Heat::SoftwareDeployment
64 get_resource: customwebserver2_configure_config
67 signal_transport: HEAT_SIGNAL
69 - customwebserver2_create_deploy
70 customwebserver_start_config:
71 type: OS::Heat::SoftwareConfig
76 customwebserver_start_deploy:
77 type: OS::Heat::SoftwareDeployment
80 get_resource: customwebserver_start_config
83 signal_transport: HEAT_SIGNAL
85 - customwebserver_configure_deploy
86 customwebserver_create_config:
87 type: OS::Heat::SoftwareConfig
90 get_file: install.yaml
92 customwebserver_configure_config:
93 type: OS::Heat::SoftwareConfig
96 get_file: configure.yml
98 customwebserver_configure_deploy:
99 type: OS::Heat::SoftwareDeployment
102 get_resource: customwebserver_configure_config
105 signal_transport: HEAT_SIGNAL
107 - customwebserver_create_deploy