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 |
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 |
Adam Tengler | 317b0d5 | 2017-07-13 12:42:22 +0200 | [diff] [blame] | 9 | parameters: |
Adam Tengler | 317b0d5 | 2017-07-13 12:42:22 +0200 | [diff] [blame] | 10 | salt: |
| 11 | master: |
| 12 | reactor: |
| 13 | reclass/minion/classify: |
| 14 | - salt://reclass/reactor/node_register.sls |
Adam Tengler | f7911f3 | 2017-08-02 15:57:14 +0000 | [diff] [blame] | 15 | environment: |
| 16 | prd: |
| 17 | formula: |
| 18 | glusterfs: |
| 19 | source: pkg |
| 20 | name: salt-formula-glusterfs |
Adam Tengler | 317b0d5 | 2017-07-13 12:42:22 +0200 | [diff] [blame] | 21 | linux: |
| 22 | network: |
| 23 | interface: |
| 24 | ens4: |
| 25 | enabled: true |
| 26 | type: eth |
| 27 | proto: static |
| 28 | address: ${_param:single_address} |
| 29 | netmask: 255.255.255.0 |
| 30 | reclass: |
| 31 | storage: |
| 32 | class_mapping: |
| 33 | common_node: |
| 34 | expression: all |
| 35 | node_param: |
| 36 | single_address: |
| 37 | value_template: <<node_control_ip>> |
| 38 | linux_system_codename: |
| 39 | value_template: <<node_os>> |
| 40 | salt_master_host: |
| 41 | value_template: <<node_master_ip>> |
| 42 | infra_config: |
Adam Tengler | 493da1f | 2017-08-04 10:11:25 +0000 | [diff] [blame] | 43 | expression: <<node_hostname>>__equals__cid01 |
Adam Tengler | 317b0d5 | 2017-07-13 12:42:22 +0200 | [diff] [blame] | 44 | cluster_param: |
| 45 | infra_config_address: |
| 46 | value_template: <<node_control_ip>> |
| 47 | infra_config_deploy_address: |
| 48 | value_template: <<node_deploy_ip>> |
| 49 | cluster_domain: |
| 50 | value_template: <<node_domain>> |
Adam Tengler | 493da1f | 2017-08-04 10:11:25 +0000 | [diff] [blame] | 51 | cicd_control_node_node01_address: |
Adam Tengler | 317b0d5 | 2017-07-13 12:42:22 +0200 | [diff] [blame] | 52 | value_template: <<node_control_ip>> |
Adam Tengler | 493da1f | 2017-08-04 10:11:25 +0000 | [diff] [blame] | 53 | cicd_control_node02: |
Adam Tengler | 317b0d5 | 2017-07-13 12:42:22 +0200 | [diff] [blame] | 54 | expression: <<node_hostname>>__equals__cid02 |
| 55 | cluster_param: |
Adam Tengler | 493da1f | 2017-08-04 10:11:25 +0000 | [diff] [blame] | 56 | cicd_control_node_node02_address: |
Adam Tengler | 317b0d5 | 2017-07-13 12:42:22 +0200 | [diff] [blame] | 57 | value_template: <<node_control_ip>> |
Adam Tengler | 493da1f | 2017-08-04 10:11:25 +0000 | [diff] [blame] | 58 | cicd_control_node03: |
Adam Tengler | 317b0d5 | 2017-07-13 12:42:22 +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 | 493da1f | 2017-08-04 10:11:25 +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 | 493da1f | 2017-08-04 10:11:25 +0000 | [diff] [blame] | 69 | - cluster.${_param:cluster_name}.cicd.control.master |
| 70 | params: |
| 71 | salt_master_host: 127.0.0.1 |
| 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 |
Adam Tengler | 317b0d5 | 2017-07-13 12:42:22 +0200 | [diff] [blame] | 97 | |