Petr Michalec | 6463b43 | 2017-08-17 11:52:59 +0200 | [diff] [blame] | 1 | classes: |
azvyagintsev | 2859f0e | 2018-06-11 17:45:47 +0300 | [diff] [blame] | 2 | - system.linux.system.repo.mcp.apt_mirantis.ubuntu |
Petr Michalec | 56e329c | 2017-07-03 14:32:04 +0200 | [diff] [blame] | 3 | - system.openssh.client.lab |
Petr Michalec | 6463b43 | 2017-08-17 11:52:59 +0200 | [diff] [blame] | 4 | - system.salt.master.single |
Petr Michalec | 30e4905 | 2017-09-15 16:32:52 +0200 | [diff] [blame] | 5 | - system.salt.master.git |
Petr Michalec | 56e329c | 2017-07-03 14:32:04 +0200 | [diff] [blame] | 6 | - system.salt.minion.ca.salt_master |
| 7 | - system.salt.master.api |
Petr Michalec | 56e329c | 2017-07-03 14:32:04 +0200 | [diff] [blame] | 8 | - system.mysql.client |
| 9 | - system.reclass.storage.salt |
Petr Michalec | 6463b43 | 2017-08-17 11:52:59 +0200 | [diff] [blame] | 10 | - system.reclass.storage.system.infra_idm_cluster |
Petr Michalec | f05e3ea | 2017-08-21 17:33:16 +0200 | [diff] [blame] | 11 | - cluster.aaa-ha-freeipa.infra |
| 12 | - cluster.aaa-ha-freeipa.aaa |
| 13 | - cluster.aaa-ha-freeipa |
Petr Michalec | 56e329c | 2017-07-03 14:32:04 +0200 | [diff] [blame] | 14 | parameters: |
| 15 | _param: |
Petr Michalec | 30e4905 | 2017-09-15 16:32:52 +0200 | [diff] [blame] | 16 | salt_master_base_environment: dev |
Petr Michalec | 56e329c | 2017-07-03 14:32:04 +0200 | [diff] [blame] | 17 | reclass_data_repository: "https://gerrit.mcp.mirantis.net/salt-models/mcp-virtual-lab.git" |
| 18 | reclass_data_revision: master |
| 19 | reclass_config_master: ${_param:infra_config_deploy_address} |
| 20 | single_address: ${_param:infra_config_address} |
| 21 | linux_system_codename: xenial |
| 22 | salt_api_password_hash: "$6$WV0P1shnoDh2gI/Z$22/Bcd7ffMv0jDlFpT63cAU4PiXHz9pjXwngToKwqAsgoeK4HNR3PiKaushjxp3JsQ8hNoJmAC6TxzVqfV8WH/" |
| 23 | salt_master_host: 127.0.0.1 |
| 24 | salt: |
Petr Michalec | 30e4905 | 2017-09-15 16:32:52 +0200 | [diff] [blame] | 25 | #minion: |
| 26 | # source: |
| 27 | # engine: none |
Petr Michalec | 56e329c | 2017-07-03 14:32:04 +0200 | [diff] [blame] | 28 | master: |
Petr Michalec | 30e4905 | 2017-09-15 16:32:52 +0200 | [diff] [blame] | 29 | #source: |
| 30 | # # TEMP: avoid to install salt packages (as we preinstall development version) |
| 31 | # engine: none |
Petr Michalec | 56e329c | 2017-07-03 14:32:04 +0200 | [diff] [blame] | 32 | reactor: |
| 33 | reclass/minion/classify: |
| 34 | - salt://reclass/reactor/node_register.sls |
Petr Michalec | 30e4905 | 2017-09-15 16:32:52 +0200 | [diff] [blame] | 35 | environment: |
| 36 | dev: |
| 37 | formula: |
| 38 | salt: |
| 39 | #source: pkg |
| 40 | #name: salt-formula-salt |
| 41 | source: git |
Petr Michalec | cf0e136 | 2017-10-06 09:02:18 +0200 | [diff] [blame] | 42 | address: 'https://github.com/salt-formulas/salt-formula-salt.git' |
| 43 | revision: 'master' |
| 44 | #address: 'https://github.com/epcim/salt-formula-salt.git' |
| 45 | #revision: 'review/petr_michalec/allow-multiple-ext-pillars-and-reclass-options' |
Petr Michalec | e917a3e | 2017-09-06 17:37:00 +0200 | [diff] [blame] | 46 | |
Petr Michalec | 56e329c | 2017-07-03 14:32:04 +0200 | [diff] [blame] | 47 | reclass: |
| 48 | storage: |
| 49 | class_mapping: |
| 50 | common_node: |
| 51 | expression: all |
| 52 | node_param: |
| 53 | single_address: |
Petr Michalec | 30e4905 | 2017-09-15 16:32:52 +0200 | [diff] [blame] | 54 | value_template: <<node_control_ip>> |
Petr Michalec | 56e329c | 2017-07-03 14:32:04 +0200 | [diff] [blame] | 55 | linux_system_codename: |
| 56 | value_template: <<node_os>> |
| 57 | salt_master_host: |
| 58 | value_template: <<node_master_ip>> |
| 59 | infra_config: |
| 60 | expression: <<node_hostname>>__startswith__cfg |
| 61 | cluster_param: |
| 62 | infra_config_address: |
Petr Michalec | 30e4905 | 2017-09-15 16:32:52 +0200 | [diff] [blame] | 63 | value_template: <<node_control_ip>> |
Petr Michalec | 56e329c | 2017-07-03 14:32:04 +0200 | [diff] [blame] | 64 | infra_config_deploy_address: |
Petr Michalec | 30e4905 | 2017-09-15 16:32:52 +0200 | [diff] [blame] | 65 | value_template: <<node_deploy_ip>> |
Petr Michalec | 56e329c | 2017-07-03 14:32:04 +0200 | [diff] [blame] | 66 | identity_control01: |
| 67 | expression: <<node_hostname>>__equals__idm01 |
| 68 | cluster_param: |
| 69 | identity_control_node01_address: |
Petr Michalec | 30e4905 | 2017-09-15 16:32:52 +0200 | [diff] [blame] | 70 | value_template: <<node_control_ip>> |
Petr Michalec | 56e329c | 2017-07-03 14:32:04 +0200 | [diff] [blame] | 71 | node_class: |
| 72 | value_template: |
| 73 | #- system.linux.system.repo.saltstack.rhel7 |
| 74 | - cluster.<<node_cluster>>.aaa.freeipa_server |
| 75 | identity_control02: |
| 76 | expression: <<node_hostname>>__equals__idm02 |
| 77 | cluster_param: |
| 78 | identity_control_node02_address: |
Petr Michalec | 30e4905 | 2017-09-15 16:32:52 +0200 | [diff] [blame] | 79 | value_template: <<node_control_ip>> |
Petr Michalec | 56e329c | 2017-07-03 14:32:04 +0200 | [diff] [blame] | 80 | node_class: |
| 81 | value_template: |
| 82 | #- system.linux.system.repo.saltstack.rhel7 |
| 83 | - cluster.<<node_cluster>>.aaa.freeipa_server |
| 84 | identity_control03: |
| 85 | expression: <<node_hostname>>__equals__idm03 |
| 86 | cluster_param: |
| 87 | identity_control_node03_address: |
Petr Michalec | 30e4905 | 2017-09-15 16:32:52 +0200 | [diff] [blame] | 88 | value_template: <<node_control_ip>> |
Petr Michalec | 56e329c | 2017-07-03 14:32:04 +0200 | [diff] [blame] | 89 | node_class: |
| 90 | value_template: |
| 91 | #- system.linux.system.repo.saltstack.rhel7 |
| 92 | - cluster.<<node_cluster>>.aaa.freeipa_server |
| 93 | identity_client: |
| 94 | expression: <<node_hostname>>__startswith__tst |
| 95 | node_class: |
| 96 | value_template: |
azvyagintsev | 2859f0e | 2018-06-11 17:45:47 +0300 | [diff] [blame] | 97 | - system.linux.system.repo.mcp.apt_mirantis.ubuntu |
Petr Michalec | 56e329c | 2017-07-03 14:32:04 +0200 | [diff] [blame] | 98 | - cluster.<<node_cluster>>.aaa.freeipa_client |