blob: 63034f62549caf6d1e330a4ca80c6e9ffe8b05b7 [file] [log] [blame]
Petr Michalec88a2d092017-08-16 22:39:30 +02001classes:
Ales Komarekc12dd412017-06-27 16:24:42 +02002- system.linux.system.repo.ubuntu
Richard Felkl04250022017-10-20 13:55:43 +02003- system.linux.system.repo.mcp.salt
Ales Komarekc12dd412017-06-27 16:24:42 +02004- system.openssh.client.lab
5- system.salt.master.pkg
6- system.salt.minion.ca.salt_master
7- system.salt.master.api
vrovachevcd07e9b2017-09-20 13:46:38 +04008- system.salt.minion.cert.k8s_server_single
Ales Komarekc12dd412017-06-27 16:24:42 +02009- system.reclass.storage.salt
vrovachevcd07e9b2017-09-20 13:46:38 +040010- system.reclass.storage.system.kubernetes_control_single
Petr Michalecf05e3ea2017-08-21 17:33:16 +020011- cluster.k8s-aio-calico
Ales Komarekc12dd412017-06-27 16:24:42 +020012parameters:
13 _param:
14 salt_master_base_environment: prd
15 reclass_data_repository: "https://gerrit.mcp.mirantis.net/salt-models/mcp-virtual-lab.git"
16 reclass_data_revision: master
17 reclass_config_master: ${_param:infra_config_deploy_address}
18 single_address: ${_param:infra_config_address}
vrovachevcd07e9b2017-09-20 13:46:38 +040019 deploy_address: ${_param:infra_config_deploy_address}
Ales Komarekc12dd412017-06-27 16:24:42 +020020 linux_system_codename: xenial
21 salt_api_password_hash: "$6$WV0P1shnoDh2gI/Z$22/Bcd7ffMv0jDlFpT63cAU4PiXHz9pjXwngToKwqAsgoeK4HNR3PiKaushjxp3JsQ8hNoJmAC6TxzVqfV8WH/"
22 salt_master_host: 127.0.0.1
23 salt:
24 master:
25 reactor:
26 reclass/minion/classify:
27 - salt://reclass/reactor/node_register.sls
28 reclass:
29 storage:
30 class_mapping:
31 common_node:
32 expression: all
33 node_param:
34 single_address:
Adam Tenglerc6176502017-07-04 20:45:06 +000035 value_template: <<node_control_ip>>
Ales Komarekc12dd412017-06-27 16:24:42 +020036 linux_system_codename:
37 value_template: <<node_os>>
38 salt_master_host:
39 value_template: <<node_master_ip>>
vrovachevcd07e9b2017-09-20 13:46:38 +040040 deploy_address:
41 value_template: <<node_deploy_ip>>
Ales Komarekc12dd412017-06-27 16:24:42 +020042 infra_config:
43 expression: <<node_hostname>>__startswith__cfg
44 cluster_param:
45 infra_config_address:
Adam Tenglerc6176502017-07-04 20:45:06 +000046 value_template: <<node_control_ip>>
Ales Komarekc12dd412017-06-27 16:24:42 +020047 infra_config_deploy_address:
Adam Tenglerc6176502017-07-04 20:45:06 +000048 value_template: <<node_deploy_ip>>
vrovachevcd07e9b2017-09-20 13:46:38 +040049 cluster_domain:
50 value_template: <<node_domain>>
Ales Komarekc12dd412017-06-27 16:24:42 +020051 kubernetes_control01:
52 expression: <<node_hostname>>__equals__ctl01
53 cluster_param:
54 kubernetes_control_node01_address:
Adam Tenglerc6176502017-07-04 20:45:06 +000055 value_template: <<node_control_ip>>
vrovachevcd07e9b2017-09-20 13:46:38 +040056 kubernetes_control_node01_deploy_address:
57 value_template: <<node_deploy_ip>>
Ales Komarekc12dd412017-06-27 16:24:42 +020058 kubernetes_compute:
59 expression: <<node_hostname>>__startswith__cmp
60 node_class:
61 value_template:
62 - cluster.<<node_cluster>>.kubernetes.compute
vrovachevcd07e9b2017-09-20 13:46:38 +040063 node_param:
64 deploy_address:
65 value_template: <<node_deploy_ip>>