blob: 4fd9100d7eb0c88e37558f65ae43c97351c108a3 [file] [log] [blame]
Tomáš Kukrál328de802017-04-27 15:17:40 +02001classes:
Tomáš Kukrál328de802017-04-27 15:17:40 +02002- 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.virtual-mcp11-k8s-contrail.infra
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}
Tomáš Kukrál328de802017-04-27 15:17:40 +020019 linux_system_codename: xenial
20 salt_api_password_hash: "$6$WV0P1shnoDh2gI/Z$22/Bcd7ffMv0jDlFpT63cAU4PiXHz9pjXwngToKwqAsgoeK4HNR3PiKaushjxp3JsQ8hNoJmAC6TxzVqfV8WH/"
Simon Pasquieref3efb52017-05-04 12:47:11 +020021 salt_master_host: ${_param:infra_config_deploy_address}
Tomáš Kukrál328de802017-04-27 15:17:40 +020022 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:
Simon Pasquieref3efb52017-05-04 12:47:11 +020031 salt_master_host: ${_param:infra_config_deploy_address}
Tomáš Kukrál328de802017-04-27 15:17:40 +020032 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:
Simon Pasquieref3efb52017-05-04 12:47:11 +020040 salt_master_host: ${_param:infra_config_deploy_address}
Tomáš Kukrál328de802017-04-27 15:17:40 +020041 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:
Simon Pasquiera7a449d2017-05-11 10:03:41 +020047 - cluster.${_param:cluster_name}.stacklight.proxy
Tomáš Kukrál328de802017-04-27 15:17:40 +020048 params:
Simon Pasquieref3efb52017-05-04 12:47:11 +020049 salt_master_host: ${_param:infra_config_deploy_address}
Tomáš Kukrál328de802017-04-27 15:17:40 +020050 linux_system_codename: xenial
51 single_address: ${_param:kubernetes_proxy_node01_address}
Simon Pasquiera7a449d2017-05-11 10:03:41 +020052 stacklight_node01:
53 name: ${_param:stacklight_node01_hostname}
Tomáš Kukrál328de802017-04-27 15:17:40 +020054 domain: ${_param:cluster_domain}
55 classes:
Simon Pasquier994b69d2017-06-08 15:58:53 +020056 - service.galera.master.cluster
Simon Pasquiera7a449d2017-05-11 10:03:41 +020057 - system.docker.swarm.master
58 - cluster.${_param:cluster_name}.stacklight.client
59 - cluster.${_param:cluster_name}.stacklight.server
Tomáš Kukrál328de802017-04-27 15:17:40 +020060 params:
Simon Pasquieref3efb52017-05-04 12:47:11 +020061 salt_master_host: ${_param:infra_config_deploy_address}
Tomáš Kukrál328de802017-04-27 15:17:40 +020062 linux_system_codename: xenial
Simon Pasquiera7a449d2017-05-11 10:03:41 +020063 single_address: ${_param:stacklight_node01_address}
Simon Pasquieref3efb52017-05-04 12:47:11 +020064 keepalived_vip_priority: 100
Simon Pasquier994b69d2017-06-08 15:58:53 +020065 mysql_cluster_role: master
Simon Pasquiera7a449d2017-05-11 10:03:41 +020066 stacklight_node02:
67 name: ${_param:stacklight_node02_hostname}
Simon Pasquieref3efb52017-05-04 12:47:11 +020068 domain: ${_param:cluster_domain}
69 classes:
Simon Pasquier994b69d2017-06-08 15:58:53 +020070 - service.galera.slave.cluster
Simon Pasquiera7a449d2017-05-11 10:03:41 +020071 - system.docker.swarm.manager
72 - cluster.${_param:cluster_name}.stacklight.server
Simon Pasquieref3efb52017-05-04 12:47:11 +020073 params:
74 salt_master_host: ${_param:infra_config_deploy_address}
75 linux_system_codename: xenial
Simon Pasquiera7a449d2017-05-11 10:03:41 +020076 single_address: ${_param:stacklight_node02_address}
Simon Pasquieref3efb52017-05-04 12:47:11 +020077 keepalived_vip_priority: 101
Simon Pasquier994b69d2017-06-08 15:58:53 +020078 mysql_cluster_role: slave
Simon Pasquiera7a449d2017-05-11 10:03:41 +020079 stacklight_node03:
80 name: ${_param:stacklight_node03_hostname}
Simon Pasquieref3efb52017-05-04 12:47:11 +020081 domain: ${_param:cluster_domain}
82 classes:
Simon Pasquier994b69d2017-06-08 15:58:53 +020083 - service.galera.slave.cluster
Simon Pasquiera7a449d2017-05-11 10:03:41 +020084 - system.docker.swarm.manager
85 - cluster.${_param:cluster_name}.stacklight.server
Simon Pasquieref3efb52017-05-04 12:47:11 +020086 params:
87 salt_master_host: ${_param:infra_config_deploy_address}
88 linux_system_codename: xenial
Simon Pasquiera7a449d2017-05-11 10:03:41 +020089 single_address: ${_param:stacklight_node03_address}
Simon Pasquieref3efb52017-05-04 12:47:11 +020090 keepalived_vip_priority: 102
Simon Pasquier994b69d2017-06-08 15:58:53 +020091 mysql_cluster_role: slave
Tomáš Kukrál328de802017-04-27 15:17:40 +020092 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