blob: 6ccbf35be08946e9786a0edabddf348e6012ba58 [file] [log] [blame]
azvyagintsev1e890142019-01-23 19:26:00 +02001classes:
2- system.defaults
3- system.linux.system.single.debian
4- system.linux.system.repo.mcp.apt_mirantis.salt-formulas
Denis Egorenko764c17d2019-09-05 13:34:11 +04005- system.linux.system.repo.mcp.apt_mirantis.update.salt-formulas
azvyagintsev1e890142019-01-23 19:26:00 +02006- system.linux.system.repo.mcp.apt_mirantis.extra
Denis Egorenko764c17d2019-09-05 13:34:11 +04007- system.linux.system.repo.mcp.apt_mirantis.update.extra
azvyagintsev1e890142019-01-23 19:26:00 +02008- system.linux.system.repo.mcp.apt_mirantis.ubuntu
Denis Egorenko764c17d2019-09-05 13:34:11 +04009- system.linux.system.repo.mcp.apt_mirantis.update.ubuntu
azvyagintsev1e890142019-01-23 19:26:00 +020010- system.linux.system.repo.mcp.apt_mirantis.docker
Denis Egorenko764c17d2019-09-05 13:34:11 +040011- system.linux.system.repo.mcp.apt_mirantis.update.docker
azvyagintsev1e890142019-01-23 19:26:00 +020012- system.openssh.client.lab
13- system.salt.master.pkg
14- system.salt.minion.ca.salt_master
15- system.salt.master.api
16- system.reclass.storage.salt
17- cluster.mcp-offline.infra.mirror
18- cluster.mcp-offline.infra.mirror.docker-registry
19parameters:
20 _param:
21 # TODO: Uncomment next line "linux_system_user_sudo: true" during the deployment.
22 # Don't set it "false" before you configure sudo policies and enable power users.
23 # linux_system_user_sudo: true
azvyagintsev93a5beb2019-02-07 15:13:27 +020024 mcp_version: "2019.2.0"
MCP-CI6480c0c2022-05-11 11:23:45 +000025 mcp_tagged_version: "2019.2.19"
azvyagintsev93a5beb2019-02-07 15:13:27 +020026# mcp_version: "proposed"
azvyagintsev1e890142019-01-23 19:26:00 +020027 aptly_server_hostname: apt
28 aptly_server_address: 127.0.0.1
29 linux_repo_refresh_db: true
30 infra_config_hostname: apt01
31 salt_minion_ca_host: ${_param:infra_config_hostname}.${_param:cluster_domain}
32 # for docker-swarm
33 cluster_node01_address: ${_param:aptly_server_address}
34 admin_email: root@localhost
35 # infra service addresses
36 infra_config_address: ${_param:aptly_server_address}
37 infra_config_deploy_address: ${_param:aptly_server_address}
38
39 cluster_domain: mcp-offline.local
40 cluster_name: mcp-offline
41
42 control_network_netmask: 255.255.255.0
43 tenant_network_netmask: 255.255.255.0
44
45 dns_server01: 8.8.8.8
46 dns_server02: 8.8.4.4
47 # Stub's
48 deploy_network_netmask: 255.255.0.0
49 deploy_network_gateway: 10.0.0.1
50 # Configuration of dummy apt01 salt-master, during generation
51 salt_master_base_environment: prd
52 reclass_data_repository: "https://github.com/Mirantis/reclass-system-salt-model"
53 reclass_data_revision: master
54 reclass_config_master: ${_param:infra_config_deploy_address}
55 single_address: ${_param:infra_config_address}
56 deploy_address: ${_param:infra_config_deploy_address}
57 linux_system_codename: xenial
58 salt_api_password_hash: "$6$YJog182m$2/VdfO/XQWrVbkQvh3Q3jSp941xQZOROdk6iJb2TfXkoMEi/Uu10sRqky7V3wHf7AYzMoAnr3hQyMC0esNMIn0"
59 salt_master_host: ${_param:infra_config_deploy_address}
Denis Egorenko764c17d2019-09-05 13:34:11 +040060
61 # Override DebMirror to use Rsync which is available only internally
62 # Public host is under CloudFront - http/https only
63 debmirror_mirrors_sync_method: rsync
64 debmirror_mirrors_host: "mirror-us.mcp.mirantis.net"
65 debmirror_mirrors_root: ":mirror/${_param:mcp_version}"
66 debmirror_mirrors_update_root: ":mirror/update/${_param:mcp_version}"
azvyagintsev1e890142019-01-23 19:26:00 +020067 salt:
68 master:
69 command_timeout: 240
70 user:
71 deploy:
72 permissions: ${_param:salt_master_api_permissions}
73 minion:
74 master:
75 host: "localhost"
76 trusted_ca_minions:
77 - ${_param:salt_minion_ca_host}
78 linux:
79 network:
80 interface:
81 ens3:
82 enabled: true
83 type: eth
84 proto: dhcp
85 host:
86 hostname:
87 address: ${_param:single_address}
88 names:
89 - ${linux:network:hostname}
90 - ${linux:network:fqdn}
91 apt:
92 address: ${_param:aptly_server_address}
93 names:
94 - ${_param:aptly_server_hostname}
95 - ${_param:aptly_server_hostname}.${_param:cluster_domain}
96 system:
97 name: ${_param:infra_config_hostname}
98 domain: ${_param:cluster_domain}
99 purge_repos: True
100 service:
101 apt-daily.timer:
102 status: dead
103 enabled: false
104 user:
105 root:
106 password: false
107 package:
108 cloud-init:
109 version: latest
110 reclass:
111 version: latest
Denis Egorenko764c17d2019-09-05 13:34:11 +0400112 nginx:
113 server:
114 site:
115 nginx_proxy_salt_api:
116 enabled: false
azvyagintsev1e890142019-01-23 19:26:00 +0200117 reclass:
118 storage:
119 data_source:
120 engine: local