1 heat_template_version: 2013-05-23
4 TOSCA simple profile with a web application.
9 description: Context root for installing the application.
14 description: Number of CPUs for the server.
25 type: OS::Nova::Server
28 image: ubuntu-software-config-os-init
29 user_data_format: SOFTWARE_CONFIG
30 software_config_transport: POLL_SERVER_HEAT
32 web_server_create_deploy:
33 type: OS::Heat::SoftwareDeployment
36 get_resource: web_server_create_config
39 signal_transport: HEAT_SIGNAL
41 web_server_create_config:
42 type: OS::Heat::SoftwareConfig
45 get_file: web_server_install.sh
48 web_server_start_deploy:
49 type: OS::Heat::SoftwareDeployment
52 get_resource: web_server_start_config
55 signal_transport: HEAT_SIGNAL
57 - web_server_create_deploy
59 web_server_start_config:
60 type: OS::Heat::SoftwareConfig
63 get_file: web_server_start.sh
66 web_app_create_deploy:
67 type: OS::Heat::SoftwareDeployment
70 get_resource: web_app_create_config
73 get_param: context_root
76 signal_transport: HEAT_SIGNAL
78 - web_server_start_deploy
80 web_app_create_config:
81 type: OS::Heat::SoftwareConfig
84 get_file: web_app_install.sh
88 type: OS::Heat::SoftwareDeployment
91 get_resource: web_app_start_config
94 signal_transport: HEAT_SIGNAL
96 - web_app_create_deploy
99 type: OS::Heat::SoftwareConfig
102 get_file: web_app_start.sh