blob: 6a63c2df5df71825f813c96b6c27c0356de25fd5 [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"
25# mcp_version: "proposed"
azvyagintsev1e890142019-01-23 19:26:00 +020026 aptly_server_hostname: apt
27 aptly_server_address: 127.0.0.1
28 linux_repo_refresh_db: true
29 infra_config_hostname: apt01
30 salt_minion_ca_host: ${_param:infra_config_hostname}.${_param:cluster_domain}
31 # for docker-swarm
32 cluster_node01_address: ${_param:aptly_server_address}
33 admin_email: root@localhost
34 # infra service addresses
35 infra_config_address: ${_param:aptly_server_address}
36 infra_config_deploy_address: ${_param:aptly_server_address}
37
38 cluster_domain: mcp-offline.local
39 cluster_name: mcp-offline
40
41 control_network_netmask: 255.255.255.0
42 tenant_network_netmask: 255.255.255.0
43
44 dns_server01: 8.8.8.8
45 dns_server02: 8.8.4.4
46 # Stub's
47 deploy_network_netmask: 255.255.0.0
48 deploy_network_gateway: 10.0.0.1
49 # Configuration of dummy apt01 salt-master, during generation
50 salt_master_base_environment: prd
51 reclass_data_repository: "https://github.com/Mirantis/reclass-system-salt-model"
52 reclass_data_revision: master
53 reclass_config_master: ${_param:infra_config_deploy_address}
54 single_address: ${_param:infra_config_address}
55 deploy_address: ${_param:infra_config_deploy_address}
56 linux_system_codename: xenial
57 salt_api_password_hash: "$6$YJog182m$2/VdfO/XQWrVbkQvh3Q3jSp941xQZOROdk6iJb2TfXkoMEi/Uu10sRqky7V3wHf7AYzMoAnr3hQyMC0esNMIn0"
58 salt_master_host: ${_param:infra_config_deploy_address}
Denis Egorenko764c17d2019-09-05 13:34:11 +040059
60 # Override DebMirror to use Rsync which is available only internally
61 # Public host is under CloudFront - http/https only
62 debmirror_mirrors_sync_method: rsync
63 debmirror_mirrors_host: "mirror-us.mcp.mirantis.net"
64 debmirror_mirrors_root: ":mirror/${_param:mcp_version}"
65 debmirror_mirrors_update_root: ":mirror/update/${_param:mcp_version}"
66 # TODO: drop both
67 #debmirror_mirrors_update_root: ":mirror/update/proposed"
68 #debmirror_mirrors_update_target_dir: "/srv/volumes/aptly/public/update/proposed/"
azvyagintsev1e890142019-01-23 19:26:00 +020069 salt:
70 master:
71 command_timeout: 240
72 user:
73 deploy:
74 permissions: ${_param:salt_master_api_permissions}
75 minion:
76 master:
77 host: "localhost"
78 trusted_ca_minions:
79 - ${_param:salt_minion_ca_host}
80 linux:
81 network:
82 interface:
83 ens3:
84 enabled: true
85 type: eth
86 proto: dhcp
87 host:
88 hostname:
89 address: ${_param:single_address}
90 names:
91 - ${linux:network:hostname}
92 - ${linux:network:fqdn}
93 apt:
94 address: ${_param:aptly_server_address}
95 names:
96 - ${_param:aptly_server_hostname}
97 - ${_param:aptly_server_hostname}.${_param:cluster_domain}
98 system:
99 name: ${_param:infra_config_hostname}
100 domain: ${_param:cluster_domain}
101 purge_repos: True
102 service:
103 apt-daily.timer:
104 status: dead
105 enabled: false
106 user:
107 root:
108 password: false
109 package:
110 cloud-init:
111 version: latest
112 reclass:
113 version: latest
Denis Egorenko764c17d2019-09-05 13:34:11 +0400114 nginx:
115 server:
116 site:
117 nginx_proxy_salt_api:
118 enabled: false
azvyagintsev1e890142019-01-23 19:26:00 +0200119 reclass:
120 storage:
121 data_source:
122 engine: local