blob: c993809d8ed6438f4b136ef2e901de2cc214eb62 [file] [log] [blame]
Petr Michalec56e329c2017-07-03 14:32:04 +02001alasses:
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.salt.minion.cert.k8s_server
8- system.mysql.client
9- system.reclass.storage.salt
10- system.reclass.storage.system.kubernetes_control_cluster
11- cluster.aaa_ha_freeipa
12parameters:
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}
19 linux_system_codename: xenial
20 salt_api_password_hash: "$6$WV0P1shnoDh2gI/Z$22/Bcd7ffMv0jDlFpT63cAU4PiXHz9pjXwngToKwqAsgoeK4HNR3PiKaushjxp3JsQ8hNoJmAC6TxzVqfV8WH/"
21 salt_master_host: 127.0.0.1
22 salt:
23 master:
24 reactor:
25 reclass/minion/classify:
26 - salt://reclass/reactor/node_register.sls
27 reclass:
28 storage:
29 class_mapping:
30 common_node:
31 expression: all
32 node_param:
33 single_address:
34 value_template: <<node_ip>>
35 linux_system_codename:
36 value_template: <<node_os>>
37 salt_master_host:
38 value_template: <<node_master_ip>>
39 infra_config:
40 expression: <<node_hostname>>__startswith__cfg
41 cluster_param:
42 infra_config_address:
43 value_template: <<node_ip>>
44 infra_config_deploy_address:
45 value_template: <<node_ip>>
46 identity_control01:
47 expression: <<node_hostname>>__equals__idm01
48 cluster_param:
49 identity_control_node01_address:
50 value_template: <<node_ip>>
51 node_class:
52 value_template:
53 #- system.linux.system.repo.saltstack.rhel7
54 - cluster.<<node_cluster>>.aaa.freeipa_server
55 identity_control02:
56 expression: <<node_hostname>>__equals__idm02
57 cluster_param:
58 identity_control_node02_address:
59 value_template: <<node_ip>>
60 node_class:
61 value_template:
62 #- system.linux.system.repo.saltstack.rhel7
63 - cluster.<<node_cluster>>.aaa.freeipa_server
64 identity_control03:
65 expression: <<node_hostname>>__equals__idm03
66 cluster_param:
67 identity_control_node03_address:
68 value_template: <<node_ip>>
69 node_class:
70 value_template:
71 #- system.linux.system.repo.saltstack.rhel7
72 - cluster.<<node_cluster>>.aaa.freeipa_server
73 identity_client:
74 expression: <<node_hostname>>__startswith__tst
75 node_class:
76 value_template:
77 - system.linux.system.repo.ubuntu
78 - cluster.<<node_cluster>>.aaa.freeipa_client