blob: 87ecd6449d8c6154c6abb98d620a806c23178760 [file] [log] [blame]
Adam Tengler2feb6b22017-07-19 17:12:46 +02001classes:
2- system.salt.master.pkg
3- system.salt.master.api
4- system.salt.minion.ca.salt_master
5- system.reclass.storage.salt
6- system.sphinx.server.doc.reclass
7- cluster.drivetrain_ha_clusters
8parameters:
9 _param:
10 reclass_data_repository: "https://gerrit.mcp.mirantis.net/salt-models/mcp-virtual-lab"
11 reclass_data_revision: master
12 reclass_config_master: ${_param:infra_config_deploy_address}
13 single_address: ${_param:infra_config_address}
14 linux_system_codename: xenial
15 salt_master_base_environment: prd
16 salt_minion_ca_host: ${linux:network:fqdn}
17 salt_master_host: ${_param:infra_config_deploy_address}
18 salt_api_password: hovno12345!
19 salt_api_password_hash: "$6$sGnRlxGf$al5jMCetLP.vfI/fTl3Z0N7Za1aeiexL487jAtyRABVfT3NlwZxQGVhO7S1N8OwS/34VHYwZQA8lkXwKMN/GS1"
Adam Tenglerd4996202017-07-25 10:32:19 +000020 cluster_public_host: ${_param:infra_config_address}
Adam Tengler2feb6b22017-07-19 17:12:46 +020021 salt:
22 master:
Adam Tenglerc1cd4d62017-07-25 11:19:37 +000023 order_masters: true
Adam Tengler2feb6b22017-07-19 17:12:46 +020024 reactor:
25 reclass/minion/classify:
26 - salt://reclass/reactor/node_register.sls
27 linux:
28 network:
29 interface:
30 ens4:
31 enabled: true
32 type: eth
33 proto: static
34 address: ${_param:single_address}
35 netmask: 255.255.255.0
36 reclass:
37 storage:
38 class_mapping:
39 common_node:
40 expression: all
41 node_param:
42 single_address:
43 value_template: <<node_control_ip>>
44 linux_system_codename:
45 value_template: <<node_os>>
46 salt_master_host:
47 value_template: <<node_master_ip>>
48 infra_config:
49 expression: <<node_hostname>>__startswith__cfg
50 cluster_param:
51 infra_config_address:
52 value_template: <<node_control_ip>>
53 infra_config_deploy_address:
54 value_template: <<node_deploy_ip>>
55 cluster_domain:
56 value_template: <<node_domain>>
57 cicd_control01:
58 expression: <<node_hostname>>__equals__cid01
59 cluster_param:
60 cicd_control_node01_address:
61 value_template: <<node_control_ip>>
62 cicd_control02:
63 expression: <<node_hostname>>__equals__cid02
64 cluster_param:
65 cicd_control_node02_address:
66 value_template: <<node_control_ip>>
67 cicd_control03:
68 expression: <<node_hostname>>__equals__cid03
69 cluster_param:
70 cicd_control_node03_address:
71 value_template: <<node_control_ip>>
72