| classes: |
| - service.git.client |
| - system.linux.system.single |
| - system.linux.system.repo.mcp.apt_mirantis.saltstack |
| - system.openssh.client.lab |
| - system.salt.master.pkg |
| - system.salt.master.api |
| - system.reclass.storage.salt |
| - system.salt.minion.ca.salt_master |
| - system.salt.minion.cert.proxy |
| - system.sphinx.server.doc.reclass |
| - cluster.model-manager.model_manager.proxy |
| - cluster.model-manager |
| parameters: |
| _param: |
| reclass_data_repository: https://gerrit.mcp.mirantis.net/salt-models/mcp-virtual-lab |
| reclass_data_revision: master |
| salt_master_environment_repository: "https://github.com/salt-formulas" |
| salt_master_environment_revision: master |
| reclass_config_master: ${_param:infra_config_deploy_address} |
| single_address: ${_param:infra_config_address} |
| salt_master_host: 127.0.0.1 |
| salt_master_base_environment: prd |
| salt_minion_ca_host: ${linux:network:fqdn} |
| salt_api_password_hash: "$6$sGnRlxGf$al5jMCetLP.vfI/fTl3Z0N7Za1aeiexL487jAtyRABVfT3NlwZxQGVhO7S1N8OwS/34VHYwZQA8lkXwKMN/GS1" |
| linux: |
| network: |
| interface: |
| ens4: |
| enabled: true |
| type: eth |
| proto: static |
| address: ${_param:single_address} |
| netmask: 255.255.255.0 |
| salt: |
| master: |
| reactor: |
| reclass/minion/classify: |
| - salt://reclass/reactor/node_register.sls |
| environment: |
| prd: |
| formula: |
| model_manager: |
| source: git |
| address: '${_param:salt_master_environment_repository}/salt-formula-model-manager.git' |
| revision: ${_param:salt_master_environment_revision} |
| reclass: |
| storage: |
| class_mapping: |
| common_node: |
| expression: all |
| node_param: |
| single_address: |
| value_template: <<node_control_ip>> |
| linux_system_codename: |
| value_template: <<node_os>> |
| salt_master_host: |
| value_template: <<node_master_ip>> |
| infra_config: |
| expression: <<node_hostname>>__startswith__cfg |
| cluster_param: |
| infra_config_address: |
| value_template: <<node_control_ip>> |
| infra_config_deploy_address: |
| value_template: <<node_deploy_ip>> |
| cluster_domain: |
| value_template: <<node_domain>> |
| model_manager: |
| expression: <<node_hostname>>__startswith__web |
| node_class: |
| value_template: |
| - cluster.<<node_cluster>>.model_manager.dashboard |
| model_manager_node00: |
| expression: <<node_hostname>>__equals__web0 |
| cluster_param: |
| model_manager_node00_address: |
| value_template: <<node_control_ip>> |
| |