blob: 86cbb6fddd6df23f779c0d8ddc2d4cdb1ba36d06 [file] [log] [blame]
Ales Komareka4f836f2017-05-17 13:12:51 +02001reclass:
2 storage:
3 enabled: true
4 class_mapping:
5 common_node:
6 type: all
7 node_param:
8 single_address:
9 value_template: node_ip
10 linux_system_codename:
11 value_template: node_os
12 infra_config_node:
13 type: hostname__startswith
14 expression: cfg
15 node_class:
16 - cluster.<<node_cluster>>.infra.config
17 node_param:
18 reclass_config_master:
19 value_template: node_ip
20 openstack_control:
21 type: hostname__startswith
22 expression: ctl
23 node_class:
24 - cluster.<<cluster>>.openstack.control
25 openstack_control_node_member01:
26 type: hostname__equals
27 expression: ctl01
28 cluster_param:
29 openstack_control_node01_address:
30 value_template: node_ip
31 node_param:
32 openstack_control_vip_address:
33 value_template: node_ip
34 keepalived_vip_priority:
35 value: 103
36 opencontrail_database_id:
37 value: 1
38 rabbitmq_cluster_role:
39 value: master
40 openstack_control_node_member02:
41 type: hostname__equals
42 expression: ctl02
43 cluster_param:
44 openstack_control_node01_address:
45 value_template: node_ip
46 node_param:
47 keepalived_vip_priority:
48 value: 102
49 opencontrail_database_id:
50 value: 2
51 rabbitmq_cluster_role:
52 value: slave