Adam Tengler | 2feb6b2 | 2017-07-19 17:12:46 +0200 | [diff] [blame] | 1 | classes: |
Richard Felkl | 0425002 | 2017-10-20 13:55:43 +0200 | [diff] [blame] | 2 | - system.linux.system.repo.mcp.salt |
Sergey Novikov | 4799d61 | 2017-09-25 16:23:37 +0400 | [diff] [blame] | 3 | - system.salt.master.pkg |
| 4 | - system.salt.master.api |
| 5 | - system.salt.minion.ca.salt_master |
| 6 | - system.reclass.storage.salt |
| 7 | - system.sphinx.server.doc.reclass |
| 8 | - cluster.drivetrain-ha-clusters |
Adam Tengler | 2feb6b2 | 2017-07-19 17:12:46 +0200 | [diff] [blame] | 9 | parameters: |
Adam Tengler | 2feb6b2 | 2017-07-19 17:12:46 +0200 | [diff] [blame] | 10 | salt: |
| 11 | master: |
Adam Tengler | c1cd4d6 | 2017-07-25 11:19:37 +0000 | [diff] [blame] | 12 | order_masters: true |
Adam Tengler | 2feb6b2 | 2017-07-19 17:12:46 +0200 | [diff] [blame] | 13 | reactor: |
| 14 | reclass/minion/classify: |
| 15 | - salt://reclass/reactor/node_register.sls |
| 16 | linux: |
| 17 | network: |
| 18 | interface: |
| 19 | ens4: |
| 20 | enabled: true |
| 21 | type: eth |
| 22 | proto: static |
| 23 | address: ${_param:single_address} |
| 24 | netmask: 255.255.255.0 |
| 25 | reclass: |
| 26 | storage: |
| 27 | class_mapping: |
| 28 | common_node: |
| 29 | expression: all |
| 30 | node_param: |
| 31 | single_address: |
| 32 | value_template: <<node_control_ip>> |
| 33 | linux_system_codename: |
| 34 | value_template: <<node_os>> |
| 35 | salt_master_host: |
| 36 | value_template: <<node_master_ip>> |
| 37 | infra_config: |
Adam Tengler | 500745f | 2017-07-27 15:51:10 +0000 | [diff] [blame] | 38 | expression: |
| 39 | - <<node_hostname>>__startswith__cfg |
| 40 | - <<node_cluster>>__equals__drivetrain_ha_clusters |
Adam Tengler | 2feb6b2 | 2017-07-19 17:12:46 +0200 | [diff] [blame] | 41 | cluster_param: |
| 42 | infra_config_address: |
| 43 | value_template: <<node_control_ip>> |
| 44 | infra_config_deploy_address: |
| 45 | value_template: <<node_deploy_ip>> |
| 46 | cluster_domain: |
| 47 | value_template: <<node_domain>> |
Adam Tengler | dc5ef78 | 2017-08-04 10:06:58 +0000 | [diff] [blame] | 48 | cicd_control_node01: |
Adam Tengler | 2feb6b2 | 2017-07-19 17:12:46 +0200 | [diff] [blame] | 49 | expression: <<node_hostname>>__equals__cid01 |
| 50 | cluster_param: |
| 51 | cicd_control_node01_address: |
| 52 | value_template: <<node_control_ip>> |
Adam Tengler | dc5ef78 | 2017-08-04 10:06:58 +0000 | [diff] [blame] | 53 | cicd_control_node02: |
Adam Tengler | 2feb6b2 | 2017-07-19 17:12:46 +0200 | [diff] [blame] | 54 | expression: <<node_hostname>>__equals__cid02 |
| 55 | cluster_param: |
| 56 | cicd_control_node02_address: |
| 57 | value_template: <<node_control_ip>> |
Adam Tengler | dc5ef78 | 2017-08-04 10:06:58 +0000 | [diff] [blame] | 58 | cicd_control_node03: |
Adam Tengler | 2feb6b2 | 2017-07-19 17:12:46 +0200 | [diff] [blame] | 59 | expression: <<node_hostname>>__equals__cid03 |
| 60 | cluster_param: |
| 61 | cicd_control_node03_address: |
| 62 | value_template: <<node_control_ip>> |
Adam Tengler | dc5ef78 | 2017-08-04 10:06:58 +0000 | [diff] [blame] | 63 | node: |
| 64 | cicd_control_node01: |
| 65 | name: ${_param:cicd_control_node01_hostname} |
| 66 | domain: ${_param:cluster_domain} |
| 67 | classes: |
Vladimir Jigulin | 5fe6027 | 2017-11-13 16:09:23 +0400 | [diff] [blame] | 68 | - cluster.${_param:cluster_name}.infra.config |
Adam Tengler | dc5ef78 | 2017-08-04 10:06:58 +0000 | [diff] [blame] | 69 | - cluster.${_param:cluster_name}.cicd.control.master |
| 70 | params: |
| 71 | salt_master_host: ${_param:reclass_config_master} |
| 72 | linux_system_codename: xenial |
| 73 | single_address: ${_param:cicd_control_node01_address} |
| 74 | keepalived_vip_priority: 103 |
| 75 | cicd_control_node02: |
| 76 | name: ${_param:cicd_control_node02_hostname} |
| 77 | domain: ${_param:cluster_domain} |
| 78 | classes: |
| 79 | - cluster.${_param:cluster_name}.cicd.control.slave |
| 80 | params: |
| 81 | salt_master_host: ${_param:reclass_config_master} |
| 82 | linux_system_codename: xenial |
| 83 | single_address: ${_param:cicd_control_node02_address} |
| 84 | keepalived_vip_priority: 102 |
| 85 | docker_swarm_role: worker |
| 86 | cicd_control_node03: |
| 87 | name: ${_param:cicd_control_node03_hostname} |
| 88 | domain: ${_param:cluster_domain} |
| 89 | classes: |
| 90 | - cluster.${_param:cluster_name}.cicd.control.slave |
| 91 | params: |
| 92 | salt_master_host: ${_param:reclass_config_master} |
| 93 | linux_system_codename: xenial |
| 94 | single_address: ${_param:cicd_control_node03_address} |
| 95 | keepalived_vip_priority: 101 |
| 96 | docker_swarm_role: worker |