azvyagintsev | 1e89014 | 2019-01-23 19:26:00 +0200 | [diff] [blame] | 1 | classes: |
| 2 | - system.defaults |
| 3 | - system.linux.system.single.debian |
| 4 | - system.linux.system.repo.mcp.apt_mirantis.salt-formulas |
| 5 | - system.linux.system.repo.mcp.apt_mirantis.extra |
| 6 | - system.linux.system.repo.mcp.apt_mirantis.ubuntu |
| 7 | - system.linux.system.repo.mcp.apt_mirantis.docker |
| 8 | - system.openssh.client.lab |
| 9 | - system.salt.master.pkg |
| 10 | - system.salt.minion.ca.salt_master |
| 11 | - system.salt.master.api |
| 12 | - system.reclass.storage.salt |
| 13 | - cluster.mcp-offline.infra.mirror |
| 14 | - cluster.mcp-offline.infra.mirror.docker-registry |
| 15 | parameters: |
| 16 | _param: |
| 17 | # TODO: Uncomment next line "linux_system_user_sudo: true" during the deployment. |
| 18 | # Don't set it "false" before you configure sudo policies and enable power users. |
| 19 | # linux_system_user_sudo: true |
| 20 | #mcp_version: "2018.11.0" |
| 21 | mcp_version: "proposed" |
| 22 | aptly_server_hostname: apt |
| 23 | aptly_server_address: 127.0.0.1 |
| 24 | linux_repo_refresh_db: true |
| 25 | infra_config_hostname: apt01 |
| 26 | salt_minion_ca_host: ${_param:infra_config_hostname}.${_param:cluster_domain} |
| 27 | # for docker-swarm |
| 28 | cluster_node01_address: ${_param:aptly_server_address} |
| 29 | admin_email: root@localhost |
| 30 | # infra service addresses |
| 31 | infra_config_address: ${_param:aptly_server_address} |
| 32 | infra_config_deploy_address: ${_param:aptly_server_address} |
| 33 | |
| 34 | cluster_domain: mcp-offline.local |
| 35 | cluster_name: mcp-offline |
| 36 | |
| 37 | control_network_netmask: 255.255.255.0 |
| 38 | tenant_network_netmask: 255.255.255.0 |
| 39 | |
| 40 | dns_server01: 8.8.8.8 |
| 41 | dns_server02: 8.8.4.4 |
| 42 | # Stub's |
| 43 | deploy_network_netmask: 255.255.0.0 |
| 44 | deploy_network_gateway: 10.0.0.1 |
| 45 | # Configuration of dummy apt01 salt-master, during generation |
| 46 | salt_master_base_environment: prd |
| 47 | reclass_data_repository: "https://github.com/Mirantis/reclass-system-salt-model" |
| 48 | reclass_data_revision: master |
| 49 | reclass_config_master: ${_param:infra_config_deploy_address} |
| 50 | single_address: ${_param:infra_config_address} |
| 51 | deploy_address: ${_param:infra_config_deploy_address} |
| 52 | linux_system_codename: xenial |
| 53 | salt_api_password_hash: "$6$YJog182m$2/VdfO/XQWrVbkQvh3Q3jSp941xQZOROdk6iJb2TfXkoMEi/Uu10sRqky7V3wHf7AYzMoAnr3hQyMC0esNMIn0" |
| 54 | salt_master_host: ${_param:infra_config_deploy_address} |
| 55 | salt: |
| 56 | master: |
| 57 | command_timeout: 240 |
| 58 | user: |
| 59 | deploy: |
| 60 | permissions: ${_param:salt_master_api_permissions} |
| 61 | minion: |
| 62 | master: |
| 63 | host: "localhost" |
| 64 | trusted_ca_minions: |
| 65 | - ${_param:salt_minion_ca_host} |
| 66 | linux: |
| 67 | network: |
| 68 | interface: |
| 69 | ens3: |
| 70 | enabled: true |
| 71 | type: eth |
| 72 | proto: dhcp |
| 73 | host: |
| 74 | hostname: |
| 75 | address: ${_param:single_address} |
| 76 | names: |
| 77 | - ${linux:network:hostname} |
| 78 | - ${linux:network:fqdn} |
| 79 | apt: |
| 80 | address: ${_param:aptly_server_address} |
| 81 | names: |
| 82 | - ${_param:aptly_server_hostname} |
| 83 | - ${_param:aptly_server_hostname}.${_param:cluster_domain} |
| 84 | system: |
| 85 | name: ${_param:infra_config_hostname} |
| 86 | domain: ${_param:cluster_domain} |
| 87 | purge_repos: True |
| 88 | service: |
| 89 | apt-daily.timer: |
| 90 | status: dead |
| 91 | enabled: false |
| 92 | user: |
| 93 | root: |
| 94 | password: false |
| 95 | package: |
| 96 | cloud-init: |
| 97 | version: latest |
| 98 | reclass: |
| 99 | version: latest |
| 100 | reclass: |
| 101 | storage: |
| 102 | data_source: |
| 103 | engine: local |