blob: fbad0936f86a68fda10f02ebbbc56c9bc2ed727d [file] [log] [blame]
Adam Tengler317b0d52017-07-13 12:42:22 +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
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"
20 salt:
21 master:
22 reactor:
23 reclass/minion/classify:
24 - salt://reclass/reactor/node_register.sls
25 linux:
26 network:
27 interface:
28 ens4:
29 enabled: true
30 type: eth
31 proto: static
32 address: ${_param:single_address}
33 netmask: 255.255.255.0
34 reclass:
35 storage:
36 class_mapping:
37 common_node:
38 expression: all
39 node_param:
40 single_address:
41 value_template: <<node_control_ip>>
42 linux_system_codename:
43 value_template: <<node_os>>
44 salt_master_host:
45 value_template: <<node_master_ip>>
46 infra_config:
47 expression: <<node_hostname>>__startswith__cfg
48 cluster_param:
49 infra_config_address:
50 value_template: <<node_control_ip>>
51 infra_config_deploy_address:
52 value_template: <<node_deploy_ip>>
53 cluster_domain:
54 value_template: <<node_domain>>
55 cicd_control01:
56 expression: <<node_hostname>>__equals__cid01
57 cluster_param:
58 cicd_control_node01_address:
59 value_template: <<node_control_ip>>
60 cicd_control02:
61 expression: <<node_hostname>>__equals__cid02
62 cluster_param:
63 cicd_control_node02_address:
64 value_template: <<node_control_ip>>
65 cicd_control03:
66 expression: <<node_hostname>>__equals__cid03
67 cluster_param:
68 cicd_control_node03_address:
69 value_template: <<node_control_ip>>
70