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
31 web_server_create_deploy:
32 type: OS::Heat::SoftwareDeployment
35 get_resource: web_server_create_config
39 web_server_create_config:
40 type: OS::Heat::SoftwareConfig
43 get_file: web_server_install.sh
46 web_server_start_deploy:
47 type: OS::Heat::SoftwareDeployment
50 get_resource: web_server_start_config
54 - web_server_create_deploy
56 web_server_start_config:
57 type: OS::Heat::SoftwareConfig
60 get_file: web_server_start.sh
63 web_app_create_deploy:
64 type: OS::Heat::SoftwareDeployment
67 get_resource: web_app_create_config
70 get_param: context_root
74 - web_server_start_deploy
76 web_app_create_config:
77 type: OS::Heat::SoftwareConfig
80 get_file: web_app_install.sh
84 type: OS::Heat::SoftwareDeployment
87 get_resource: web_app_start_config
91 - web_app_create_deploy
94 type: OS::Heat::SoftwareConfig
97 get_file: web_app_start.sh