blob: 318a739bc0664e0a1a76dc6adc076b8ce7b0b842 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
heat_template_version: 2013-05-23
description: >
TOSCA template to test get_* functions semantic
parameters:
map_val:
type: string
resources:
myapp_configure_deploy:
type: OS::Heat::SoftwareDeployment
properties:
input_values:
list_val: list_val_0
config:
get_resource: myapp_configure_config
server:
get_resource: server
depends_on:
- mysql_database
server:
type: OS::Nova::Server
properties:
flavor: m1.small
image: ubuntu-12.04-software-config-os-init
user_data_format: SOFTWARE_CONFIG
myapp_configure_config:
type: OS::Heat::SoftwareConfig
properties:
group: script
config:
get_file: myapp_configure.sh
outputs:
map_val:
description: map_val
value:
get_input: map_val
concat_map_val:
value:
str_replace:
params:
$s2: :8080
$s0: http://
$s1:
get_input: map_val
template: $s0$s1$s2
static_map_val:
value: static_value
test_list_of_functions:
value:
- get_input: map_val
- static_value
|