Tomáš Kukrál | 328de80 | 2017-04-27 15:17:40 +0200 | [diff] [blame] | 1 | classes: |
Tomáš Kukrál | 328de80 | 2017-04-27 15:17:40 +0200 | [diff] [blame] | 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.virtual-mcp11-k8s-contrail.infra |
| 12 | parameters: |
| 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ál | 328de80 | 2017-04-27 15:17:40 +0200 | [diff] [blame] | 19 | linux_system_codename: xenial |
| 20 | salt_api_password_hash: "$6$WV0P1shnoDh2gI/Z$22/Bcd7ffMv0jDlFpT63cAU4PiXHz9pjXwngToKwqAsgoeK4HNR3PiKaushjxp3JsQ8hNoJmAC6TxzVqfV8WH/" |
Simon Pasquier | ef3efb5 | 2017-05-04 12:47:11 +0200 | [diff] [blame] | 21 | salt_master_host: ${_param:infra_config_deploy_address} |
Marek Celoud | 9749b27 | 2017-07-10 17:47:42 +0200 | [diff] [blame^] | 22 | linux: |
| 23 | network: |
| 24 | interface: |
| 25 | ens4: |
| 26 | enabled: true |
| 27 | type: eth |
| 28 | proto: static |
| 29 | address: ${_param:single_address} |
| 30 | netmask: 255.255.255.0 |
Tomáš Kukrál | 328de80 | 2017-04-27 15:17:40 +0200 | [diff] [blame] | 31 | reclass: |
| 32 | storage: |
| 33 | node: |
| 34 | kubernetes_compute_node01: |
| 35 | name: ${_param:kubernetes_compute_node01_hostname} |
| 36 | domain: ${_param:cluster_domain} |
| 37 | classes: |
| 38 | - cluster.${_param:cluster_name}.kubernetes.compute |
| 39 | params: |
Simon Pasquier | ef3efb5 | 2017-05-04 12:47:11 +0200 | [diff] [blame] | 40 | salt_master_host: ${_param:infra_config_deploy_address} |
Tomáš Kukrál | 328de80 | 2017-04-27 15:17:40 +0200 | [diff] [blame] | 41 | linux_system_codename: xenial |
| 42 | single_address: ${_param:kubernetes_compute_node01_address} |
| 43 | kubernetes_compute_node02: |
| 44 | name: ${_param:kubernetes_compute_node02_hostname} |
| 45 | domain: ${_param:cluster_domain} |
| 46 | classes: |
| 47 | - cluster.${_param:cluster_name}.kubernetes.compute |
| 48 | params: |
Simon Pasquier | ef3efb5 | 2017-05-04 12:47:11 +0200 | [diff] [blame] | 49 | salt_master_host: ${_param:infra_config_deploy_address} |
Tomáš Kukrál | 328de80 | 2017-04-27 15:17:40 +0200 | [diff] [blame] | 50 | linux_system_codename: xenial |
| 51 | single_address: ${_param:kubernetes_compute_node02_address} |
| 52 | prx_node: |
| 53 | name: ${_param:kubernetes_proxy_node01_hostname} |
| 54 | domain: ${_param:cluster_domain} |
| 55 | classes: |
Simon Pasquier | a7a449d | 2017-05-11 10:03:41 +0200 | [diff] [blame] | 56 | - cluster.${_param:cluster_name}.stacklight.proxy |
Tomáš Kukrál | 328de80 | 2017-04-27 15:17:40 +0200 | [diff] [blame] | 57 | params: |
Simon Pasquier | ef3efb5 | 2017-05-04 12:47:11 +0200 | [diff] [blame] | 58 | salt_master_host: ${_param:infra_config_deploy_address} |
Tomáš Kukrál | 328de80 | 2017-04-27 15:17:40 +0200 | [diff] [blame] | 59 | linux_system_codename: xenial |
| 60 | single_address: ${_param:kubernetes_proxy_node01_address} |
Simon Pasquier | a7a449d | 2017-05-11 10:03:41 +0200 | [diff] [blame] | 61 | stacklight_node01: |
| 62 | name: ${_param:stacklight_node01_hostname} |
Tomáš Kukrál | 328de80 | 2017-04-27 15:17:40 +0200 | [diff] [blame] | 63 | domain: ${_param:cluster_domain} |
| 64 | classes: |
Simon Pasquier | 994b69d | 2017-06-08 15:58:53 +0200 | [diff] [blame] | 65 | - service.galera.master.cluster |
Simon Pasquier | a7a449d | 2017-05-11 10:03:41 +0200 | [diff] [blame] | 66 | - system.docker.swarm.master |
| 67 | - cluster.${_param:cluster_name}.stacklight.client |
| 68 | - cluster.${_param:cluster_name}.stacklight.server |
Tomáš Kukrál | 328de80 | 2017-04-27 15:17:40 +0200 | [diff] [blame] | 69 | params: |
Simon Pasquier | ef3efb5 | 2017-05-04 12:47:11 +0200 | [diff] [blame] | 70 | salt_master_host: ${_param:infra_config_deploy_address} |
Tomáš Kukrál | 328de80 | 2017-04-27 15:17:40 +0200 | [diff] [blame] | 71 | linux_system_codename: xenial |
Simon Pasquier | a7a449d | 2017-05-11 10:03:41 +0200 | [diff] [blame] | 72 | single_address: ${_param:stacklight_node01_address} |
Simon Pasquier | ef3efb5 | 2017-05-04 12:47:11 +0200 | [diff] [blame] | 73 | keepalived_vip_priority: 100 |
Simon Pasquier | 994b69d | 2017-06-08 15:58:53 +0200 | [diff] [blame] | 74 | mysql_cluster_role: master |
Simon Pasquier | a7a449d | 2017-05-11 10:03:41 +0200 | [diff] [blame] | 75 | stacklight_node02: |
| 76 | name: ${_param:stacklight_node02_hostname} |
Simon Pasquier | ef3efb5 | 2017-05-04 12:47:11 +0200 | [diff] [blame] | 77 | domain: ${_param:cluster_domain} |
| 78 | classes: |
Simon Pasquier | 994b69d | 2017-06-08 15:58:53 +0200 | [diff] [blame] | 79 | - service.galera.slave.cluster |
Simon Pasquier | a7a449d | 2017-05-11 10:03:41 +0200 | [diff] [blame] | 80 | - system.docker.swarm.manager |
| 81 | - cluster.${_param:cluster_name}.stacklight.server |
Simon Pasquier | ef3efb5 | 2017-05-04 12:47:11 +0200 | [diff] [blame] | 82 | params: |
| 83 | salt_master_host: ${_param:infra_config_deploy_address} |
| 84 | linux_system_codename: xenial |
Simon Pasquier | a7a449d | 2017-05-11 10:03:41 +0200 | [diff] [blame] | 85 | single_address: ${_param:stacklight_node02_address} |
Simon Pasquier | ef3efb5 | 2017-05-04 12:47:11 +0200 | [diff] [blame] | 86 | keepalived_vip_priority: 101 |
Simon Pasquier | 994b69d | 2017-06-08 15:58:53 +0200 | [diff] [blame] | 87 | mysql_cluster_role: slave |
Simon Pasquier | a7a449d | 2017-05-11 10:03:41 +0200 | [diff] [blame] | 88 | stacklight_node03: |
| 89 | name: ${_param:stacklight_node03_hostname} |
Simon Pasquier | ef3efb5 | 2017-05-04 12:47:11 +0200 | [diff] [blame] | 90 | domain: ${_param:cluster_domain} |
| 91 | classes: |
Simon Pasquier | 994b69d | 2017-06-08 15:58:53 +0200 | [diff] [blame] | 92 | - service.galera.slave.cluster |
Simon Pasquier | a7a449d | 2017-05-11 10:03:41 +0200 | [diff] [blame] | 93 | - system.docker.swarm.manager |
| 94 | - cluster.${_param:cluster_name}.stacklight.server |
Simon Pasquier | ef3efb5 | 2017-05-04 12:47:11 +0200 | [diff] [blame] | 95 | params: |
| 96 | salt_master_host: ${_param:infra_config_deploy_address} |
| 97 | linux_system_codename: xenial |
Simon Pasquier | a7a449d | 2017-05-11 10:03:41 +0200 | [diff] [blame] | 98 | single_address: ${_param:stacklight_node03_address} |
Simon Pasquier | ef3efb5 | 2017-05-04 12:47:11 +0200 | [diff] [blame] | 99 | keepalived_vip_priority: 102 |
Simon Pasquier | 994b69d | 2017-06-08 15:58:53 +0200 | [diff] [blame] | 100 | mysql_cluster_role: slave |
Tomáš Kukrál | 328de80 | 2017-04-27 15:17:40 +0200 | [diff] [blame] | 101 | opencontrail_control_node01: |
| 102 | params: |
| 103 | rabbitmq_cluster_role: master |
| 104 | opencontrail_control_node02: |
| 105 | params: |
| 106 | rabbitmq_cluster_role: slave |
| 107 | opencontrail_control_node03: |
| 108 | params: |
| 109 | rabbitmq_cluster_role: slave |