blob: a908d66d1c595df12397f17ffc5ae1a815be29cb [file] [log] [blame]
Ales Komarekc12dd412017-06-27 16:24:42 +02001classes:
2- system.linux.system.repo.ubuntu
3- system.openssh.client.lab
4- system.salt.master.pkg
5- system.salt.minion.ca.salt_master
6- system.salt.master.api
7- system.reclass.storage.salt
8- system.salt.minion.cert.k8s_server
9- system.reclass.storage.system.kubernetes_control_cluster
10- system.reclass.storage.system.opencontrail_control_cluster
11- cluster.k8s_ha_contrail
12parameters:
13 _param:
14 salt_master_base_environment: prd
15 reclass_data_repository: "https://gerrit.mcp.mirantis.net/salt-models/mcp-virtual-lab"
16 reclass_data_revision: master
17 reclass_config_master: ${_param:infra_config_deploy_address}
18 single_address: ${_param:infra_config_address}
19 linux_system_codename: xenial
20 salt_api_password_hash: "$6$WV0P1shnoDh2gI/Z$22/Bcd7ffMv0jDlFpT63cAU4PiXHz9pjXwngToKwqAsgoeK4HNR3PiKaushjxp3JsQ8hNoJmAC6TxzVqfV8WH/"
21 salt_master_host: ${_param:infra_config_deploy_address}
22 reclass:
23 storage:
24 node:
25 kubernetes_compute_node01:
26 name: ${_param:kubernetes_compute_node01_hostname}
27 domain: ${_param:cluster_domain}
28 classes:
29 - cluster.${_param:cluster_name}.kubernetes.compute
30 params:
31 salt_master_host: ${_param:infra_config_deploy_address}
32 linux_system_codename: xenial
33 single_address: ${_param:kubernetes_compute_node01_address}
34 kubernetes_compute_node02:
35 name: ${_param:kubernetes_compute_node02_hostname}
36 domain: ${_param:cluster_domain}
37 classes:
38 - cluster.${_param:cluster_name}.kubernetes.compute
39 params:
40 salt_master_host: ${_param:infra_config_deploy_address}
41 linux_system_codename: xenial
42 single_address: ${_param:kubernetes_compute_node02_address}
43 prx_node:
44 name: ${_param:kubernetes_proxy_node01_hostname}
45 domain: ${_param:cluster_domain}
46 classes:
47 - cluster.${_param:cluster_name}.stacklight.proxy
48 params:
49 salt_master_host: ${_param:infra_config_deploy_address}
50 linux_system_codename: xenial
51 single_address: ${_param:kubernetes_proxy_node01_address}
52 stacklight_node01:
53 name: ${_param:stacklight_node01_hostname}
54 domain: ${_param:cluster_domain}
55 classes:
56 - service.galera.master.cluster
57 - system.docker.swarm.master
58 - cluster.${_param:cluster_name}.stacklight.client
59 - cluster.${_param:cluster_name}.stacklight.server
60 params:
61 salt_master_host: ${_param:infra_config_deploy_address}
62 linux_system_codename: xenial
63 single_address: ${_param:stacklight_node01_address}
64 keepalived_vip_priority: 100
65 mysql_cluster_role: master
66 stacklight_node02:
67 name: ${_param:stacklight_node02_hostname}
68 domain: ${_param:cluster_domain}
69 classes:
70 - service.galera.slave.cluster
71 - system.docker.swarm.manager
72 - cluster.${_param:cluster_name}.stacklight.server
73 params:
74 salt_master_host: ${_param:infra_config_deploy_address}
75 linux_system_codename: xenial
76 single_address: ${_param:stacklight_node02_address}
77 keepalived_vip_priority: 101
78 mysql_cluster_role: slave
79 stacklight_node03:
80 name: ${_param:stacklight_node03_hostname}
81 domain: ${_param:cluster_domain}
82 classes:
83 - service.galera.slave.cluster
84 - system.docker.swarm.manager
85 - cluster.${_param:cluster_name}.stacklight.server
86 params:
87 salt_master_host: ${_param:infra_config_deploy_address}
88 linux_system_codename: xenial
89 single_address: ${_param:stacklight_node03_address}
90 keepalived_vip_priority: 102
91 mysql_cluster_role: slave
92 opencontrail_control_node01:
93 params:
94 rabbitmq_cluster_role: master
95 opencontrail_control_node02:
96 params:
97 rabbitmq_cluster_role: slave
98 opencontrail_control_node03:
99 params:
100 rabbitmq_cluster_role: slave