blob: 4077b404db8ba621d6d74d72bb60d007c0b890bf [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 Pasquiera7a449d2017-05-11 10:03:41 +020056 - system.docker.swarm.master
57 - cluster.${_param:cluster_name}.stacklight.client
58 - cluster.${_param:cluster_name}.stacklight.server
Tomáš Kukrál328de802017-04-27 15:17:40 +020059 params:
Simon Pasquieref3efb52017-05-04 12:47:11 +020060 salt_master_host: ${_param:infra_config_deploy_address}
Tomáš Kukrál328de802017-04-27 15:17:40 +020061 linux_system_codename: xenial
Simon Pasquiera7a449d2017-05-11 10:03:41 +020062 single_address: ${_param:stacklight_node01_address}
Simon Pasquieref3efb52017-05-04 12:47:11 +020063 keepalived_vip_priority: 100
Simon Pasquiera7a449d2017-05-11 10:03:41 +020064 stacklight_node02:
65 name: ${_param:stacklight_node02_hostname}
Simon Pasquieref3efb52017-05-04 12:47:11 +020066 domain: ${_param:cluster_domain}
67 classes:
Simon Pasquiera7a449d2017-05-11 10:03:41 +020068 - system.docker.swarm.manager
69 - cluster.${_param:cluster_name}.stacklight.server
Simon Pasquieref3efb52017-05-04 12:47:11 +020070 params:
71 salt_master_host: ${_param:infra_config_deploy_address}
72 linux_system_codename: xenial
Simon Pasquiera7a449d2017-05-11 10:03:41 +020073 single_address: ${_param:stacklight_node02_address}
Simon Pasquieref3efb52017-05-04 12:47:11 +020074 keepalived_vip_priority: 101
Simon Pasquiera7a449d2017-05-11 10:03:41 +020075 stacklight_node03:
76 name: ${_param:stacklight_node03_hostname}
Simon Pasquieref3efb52017-05-04 12:47:11 +020077 domain: ${_param:cluster_domain}
78 classes:
Simon Pasquiera7a449d2017-05-11 10:03:41 +020079 - system.docker.swarm.manager
80 - cluster.${_param:cluster_name}.stacklight.server
Simon Pasquieref3efb52017-05-04 12:47:11 +020081 params:
82 salt_master_host: ${_param:infra_config_deploy_address}
83 linux_system_codename: xenial
Simon Pasquiera7a449d2017-05-11 10:03:41 +020084 single_address: ${_param:stacklight_node03_address}
Simon Pasquieref3efb52017-05-04 12:47:11 +020085 keepalived_vip_priority: 102
Tomáš Kukrál328de802017-04-27 15:17:40 +020086 opencontrail_control_node01:
87 params:
88 rabbitmq_cluster_role: master
89 opencontrail_control_node02:
90 params:
91 rabbitmq_cluster_role: slave
92 opencontrail_control_node03:
93 params:
94 rabbitmq_cluster_role: slave