Petr Michalec | 6463b43 | 2017-08-17 11:52:59 +0200 | [diff] [blame] | 1 | classes: |
Petr Michalec | 56e329c | 2017-07-03 14:32:04 +0200 | [diff] [blame] | 2 | - system.linux.system.repo.ubuntu |
| 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 |
| 42 | address: 'https://github.com/epcim/salt-formula-salt.git' |
| 43 | revision: 'review/petr_michalec/allow-multiple-ext-pillars-and-reclass-options' |
Petr Michalec | e917a3e | 2017-09-06 17:37:00 +0200 | [diff] [blame] | 44 | |
Petr Michalec | 56e329c | 2017-07-03 14:32:04 +0200 | [diff] [blame] | 45 | reclass: |
| 46 | storage: |
| 47 | class_mapping: |
| 48 | common_node: |
| 49 | expression: all |
| 50 | node_param: |
| 51 | single_address: |
Petr Michalec | 30e4905 | 2017-09-15 16:32:52 +0200 | [diff] [blame^] | 52 | value_template: <<node_control_ip>> |
Petr Michalec | 56e329c | 2017-07-03 14:32:04 +0200 | [diff] [blame] | 53 | linux_system_codename: |
| 54 | value_template: <<node_os>> |
| 55 | salt_master_host: |
| 56 | value_template: <<node_master_ip>> |
| 57 | infra_config: |
| 58 | expression: <<node_hostname>>__startswith__cfg |
| 59 | cluster_param: |
| 60 | infra_config_address: |
Petr Michalec | 30e4905 | 2017-09-15 16:32:52 +0200 | [diff] [blame^] | 61 | value_template: <<node_control_ip>> |
Petr Michalec | 56e329c | 2017-07-03 14:32:04 +0200 | [diff] [blame] | 62 | infra_config_deploy_address: |
Petr Michalec | 30e4905 | 2017-09-15 16:32:52 +0200 | [diff] [blame^] | 63 | value_template: <<node_deploy_ip>> |
Petr Michalec | 56e329c | 2017-07-03 14:32:04 +0200 | [diff] [blame] | 64 | identity_control01: |
| 65 | expression: <<node_hostname>>__equals__idm01 |
| 66 | cluster_param: |
| 67 | identity_control_node01_address: |
Petr Michalec | 30e4905 | 2017-09-15 16:32:52 +0200 | [diff] [blame^] | 68 | value_template: <<node_control_ip>> |
Petr Michalec | 56e329c | 2017-07-03 14:32:04 +0200 | [diff] [blame] | 69 | node_class: |
| 70 | value_template: |
| 71 | #- system.linux.system.repo.saltstack.rhel7 |
| 72 | - cluster.<<node_cluster>>.aaa.freeipa_server |
| 73 | identity_control02: |
| 74 | expression: <<node_hostname>>__equals__idm02 |
| 75 | cluster_param: |
| 76 | identity_control_node02_address: |
Petr Michalec | 30e4905 | 2017-09-15 16:32:52 +0200 | [diff] [blame^] | 77 | value_template: <<node_control_ip>> |
Petr Michalec | 56e329c | 2017-07-03 14:32:04 +0200 | [diff] [blame] | 78 | node_class: |
| 79 | value_template: |
| 80 | #- system.linux.system.repo.saltstack.rhel7 |
| 81 | - cluster.<<node_cluster>>.aaa.freeipa_server |
| 82 | identity_control03: |
| 83 | expression: <<node_hostname>>__equals__idm03 |
| 84 | cluster_param: |
| 85 | identity_control_node03_address: |
Petr Michalec | 30e4905 | 2017-09-15 16:32:52 +0200 | [diff] [blame^] | 86 | value_template: <<node_control_ip>> |
Petr Michalec | 56e329c | 2017-07-03 14:32:04 +0200 | [diff] [blame] | 87 | node_class: |
| 88 | value_template: |
| 89 | #- system.linux.system.repo.saltstack.rhel7 |
| 90 | - cluster.<<node_cluster>>.aaa.freeipa_server |
| 91 | identity_client: |
| 92 | expression: <<node_hostname>>__startswith__tst |
| 93 | node_class: |
| 94 | value_template: |
| 95 | - system.linux.system.repo.ubuntu |
| 96 | - cluster.<<node_cluster>>.aaa.freeipa_client |