Fix BlockStorageAttachment bug when translate compute node
[parser.git] / tosca2heat / heat-translator / translator / tests / data / test_tosca_script_types.yaml
1 tosca_definitions_version: tosca_simple_yaml_1_0
2
3 description: >
4   TOSCA template to test usage of different script types like
5   Ansible and Puppet one.
6
7 topology_template:
8
9   node_templates:
10     customwebserver:
11       type: tosca.nodes.WebServer
12       requirements:
13         - host: server
14       interfaces:
15         Standard:
16           create:
17             implementation: install.yaml
18           configure:
19             implementation: configure.yml
20           start:
21             implementation: start.pp
22
23     customwebserver2:
24       type: tosca.nodes.WebServer
25       requirements:
26         - host: server
27       interfaces:
28         Standard:
29           create:
30             implementation: install.sh
31           configure:
32             implementation: configure.py
33           start:
34             implementation: start.sh
35
36     server:
37       type: tosca.nodes.Compute
38       capabilities:
39         host:
40          properties:
41            num_cpus: 1
42            mem_size: 1 GB
43         os:
44           properties:
45             type: Linux
46             distribution: Ubuntu
47             version: 12.04
48             architecture: x86_64