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 | 56e329c | 2017-07-03 14:32:04 +0200 | [diff] [blame] | 5 | - system.salt.master.pkg |
| 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 |
| 11 | - cluster.aaa_ha_freeipa.infra |
| 12 | - cluster.aaa_ha_freeipa.aaa |
Petr Michalec | 56e329c | 2017-07-03 14:32:04 +0200 | [diff] [blame] | 13 | - cluster.aaa_ha_freeipa |
| 14 | parameters: |
| 15 | _param: |
| 16 | salt_master_base_environment: prd |
| 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: |
| 25 | master: |
Petr Michalec | 6463b43 | 2017-08-17 11:52:59 +0200 | [diff] [blame^] | 26 | enabled: true |
Petr Michalec | 56e329c | 2017-07-03 14:32:04 +0200 | [diff] [blame] | 27 | reactor: |
| 28 | reclass/minion/classify: |
| 29 | - salt://reclass/reactor/node_register.sls |
| 30 | reclass: |
| 31 | storage: |
| 32 | class_mapping: |
| 33 | common_node: |
| 34 | expression: all |
| 35 | node_param: |
| 36 | single_address: |
| 37 | value_template: <<node_ip>> |
| 38 | linux_system_codename: |
| 39 | value_template: <<node_os>> |
| 40 | salt_master_host: |
| 41 | value_template: <<node_master_ip>> |
| 42 | infra_config: |
| 43 | expression: <<node_hostname>>__startswith__cfg |
| 44 | cluster_param: |
| 45 | infra_config_address: |
| 46 | value_template: <<node_ip>> |
| 47 | infra_config_deploy_address: |
| 48 | value_template: <<node_ip>> |
| 49 | identity_control01: |
| 50 | expression: <<node_hostname>>__equals__idm01 |
| 51 | cluster_param: |
| 52 | identity_control_node01_address: |
| 53 | value_template: <<node_ip>> |
| 54 | node_class: |
| 55 | value_template: |
| 56 | #- system.linux.system.repo.saltstack.rhel7 |
| 57 | - cluster.<<node_cluster>>.aaa.freeipa_server |
| 58 | identity_control02: |
| 59 | expression: <<node_hostname>>__equals__idm02 |
| 60 | cluster_param: |
| 61 | identity_control_node02_address: |
| 62 | value_template: <<node_ip>> |
| 63 | node_class: |
| 64 | value_template: |
| 65 | #- system.linux.system.repo.saltstack.rhel7 |
| 66 | - cluster.<<node_cluster>>.aaa.freeipa_server |
| 67 | identity_control03: |
| 68 | expression: <<node_hostname>>__equals__idm03 |
| 69 | cluster_param: |
| 70 | identity_control_node03_address: |
| 71 | value_template: <<node_ip>> |
| 72 | node_class: |
| 73 | value_template: |
| 74 | #- system.linux.system.repo.saltstack.rhel7 |
| 75 | - cluster.<<node_cluster>>.aaa.freeipa_server |
| 76 | identity_client: |
| 77 | expression: <<node_hostname>>__startswith__tst |
| 78 | node_class: |
| 79 | value_template: |
| 80 | - system.linux.system.repo.ubuntu |
| 81 | - cluster.<<node_cluster>>.aaa.freeipa_client |