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