b166d7cfc91628f36e81cc63724b4deef290deaa
[parser.git] /
1 heat_template_version: 2013-05-23
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   server:
23     type: OS::Nova::Server
24     properties:
25       flavor: m1.small
26       image: ubuntu-12.04-software-config-os-init
27       user_data_format: SOFTWARE_CONFIG
28   customwebserver_create_config:
29     type: OS::Heat::SoftwareConfig
30     properties:
31       config:
32         get_file: install_override.sh
33       group: script
34 outputs: {}