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