1b3c9ac268998f4b07a48e208e182f721c535543
[parser.git] /
1 heat_template_version: 2014-10-16
2
3 description: >
4   TOSCA template to test custom type with an interface defined on it,
5   and an interface overriding the type's one on the template itself
6
7 parameters:
8   install_path:
9     type: string
10     default: /home/custom/from/cli
11 resources:
12   customwebserver_create_deploy:
13     type: OS::Heat::SoftwareDeployment
14     properties:
15       config:
16         get_resource: customwebserver_create_config
17       input_values:
18         path:
19           get_param: install_path
20       server:
21         get_resource: server
22       signal_transport: HEAT_SIGNAL
23   server:
24     type: OS::Nova::Server
25     properties:
26       flavor: m1.small
27       image: ubuntu-12.04-software-config-os-init
28       user_data_format: SOFTWARE_CONFIG
29       software_config_transport: POLL_SERVER_HEAT
30   customwebserver_create_config:
31     type: OS::Heat::SoftwareConfig
32     properties:
33       config:
34         get_file: install_override.sh
35       group: script
36 outputs: {}