blob: 01eaa9256a003b3ec7dada0e6213973f7ec99693 [file] [log] [blame]
Richard Felkl344c1322018-02-19 11:55:04 +01001classes:
azvyagintsev8783aae2018-10-23 15:52:44 +03002- service.docker.host
azvyagintsev6efdf702018-02-27 11:31:40 +02003- system.aptly.server.docker
4- system.aptly.client.publisher
azvyagintsev78456392018-10-26 13:46:56 +03005- system.debmirror.mirror_mirantis_com
Richard Felkl344c1322018-02-19 11:55:04 +01006- system.git.server.single
Richard Felkl344c1322018-02-19 11:55:04 +01007- system.docker.client
azvyagintsev6efdf702018-02-27 11:31:40 +02008- system.docker.swarm.stack.aptly
azvyagintsev6efdf702018-02-27 11:31:40 +02009- system.docker.swarm.manager
10- system.docker.swarm.master
Richard Felkl344c1322018-02-19 11:55:04 +010011parameters:
12 _param:
Richard Felkl344c1322018-02-19 11:55:04 +010013 aptly_gpg_keypair_id: A8272E04
14 aptly_gpg_passphrase: ""
15 aptly_server_secure: true
azvyagintsev6efdf702018-02-27 11:31:40 +020016 docker_stack_aptly_public_replicas: 1
17 docker_registry_http_secret: 'Thoh0unuaeSeeT9i'
azvyagintsev21103382018-04-07 17:48:38 +030018 # Upstream mirrors:
azvyagintsev5e648a32018-08-23 12:50:20 +030019 #mcp_docker_registry: 'docker-prod-local.artifactory.mirantis.com'
azvyagintsev72104362018-08-21 21:53:56 +030020 #vcp_images_mirror: 'http://images.mirantis.com'
azvyagintsev5d754a02019-01-22 15:27:20 +020021 mcp_static_images_url: 'http://images.mcp.mirantis.net/'
azvyagintsev5e648a32018-08-23 12:50:20 +030022 mcp_docker_registry: 'docker-prod-local.docker.mirantis.net'
Richard Felkl344c1322018-02-19 11:55:04 +010023 aptly_gpg_private_key: |
24 -----BEGIN PGP PRIVATE KEY BLOCK-----
25 Version: GnuPG v1
26
27 lQOYBFnU98YBCACdTxOkxAJJQaQ4B9sEsh9s4MMOMxPSCwvzgGbk6HECDBhz2auF
28 FfVydNbjLfoih8qdaLSmBQg8+FtdYJHEG1lekeiUETOxJnk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KFoK6Fauu
77 NeB+Fc/1UdMpUb1Y9dpE/akgRm/79NRHKA4plQ2X/CGZu+KIw4XVn/0ilU8FbsX+
78 KXcp8ui0XRqg8z44wtlroFTrnR+DgqplsellsrM+xGtZb9VrjFLeP89jzhrBWgE=
79 =QgPA
80 -----END PGP PRIVATE KEY BLOCK-----
81 aptly_gpg_public_key: |
82 -----BEGIN PGP PUBLIC KEY BLOCK-----
83 Version: GnuPG v1
84
85 mQENBFnU98YBCACdTxOkxAJJQaQ4B9sEsh9s4MMOMxPSCwvzgGbk6HECDBhz2auF
86 FfVydNbjLfoih8qdaLSmBQg8+FtdYJHEG1lekeiUETOxJnkhUFXq85KGNj9BbGBr
87 m3/6Jo58pdMNdUMurAs807STvH3iTAhYymggX1u9GyjKbv24p2KMGuK1gC3W04NG
88 qOQX3iwjmBWq87fX7tNLafptCq5A9TAv4Dvt1XZgGCiLI+EcPyfgNB1W/+EOOkFu
89 jFdM43nm0YE3Bf4uuVR/u0REprYJfChdS6qYYgI3n2LuPyi9WMVVee+1RZmTwFcB
90 cS53h+gq1GHOhj+YOwm3+ctmIoTNi26siutdABEBAAG0Kk1pcmFudGlzIE9mZmxp
91 bmUgQXB0bHkgPGluZm9AbWlyYW50aXMuY29tPokBOAQTAQIAIgUCWdT3xgIbAwYL
92 CQgHAwIGFQgCCQoLBBYCAwECHgECF4AACgkQpIXB3agnLgS9wQf7B2LiR4wQh7Vq
93 Vwx1dKrhj0AXF7jSYfYJ/vtV6mXb0AxAxC3BVoW+KLPB+W9lHCXBRYXf1pJZIYcx
94 v0rTGeqzpcxVmMIT1E4OAmZp8pFlBsFNTERG2z01kdnd3oddF3GSiP1cTg2+c9hJ
95 UGJR0tAbPXDm0dXhuDD428IuSx5o4bdNdCshPYRe/P3CGG+KrySLL0/06UU2I5Mx
96 f4pctRouWfrQDA6sIS+P58NKwIpXdWj1pPogJzVUJqHHyAUM8Ri+AZoXtKjqXAqN
97 QNCd/xPaL9dtGxKTMDDKHvqyF5MpU3eYcEFIi79nunfC6Iaw+Izo+hYpiBlb2s6Q
98 kCgR2y/f17kBDQRZ1PfGAQgA1NqQorh2cvogoU4DbRwnQKZDCCt4WnbvcJf8WZw7
99 sINbqJm3pd/UjVwcPG0GFe9w7/eEdKv6N/fVMJYo/Dj34j2waN46sIBBaXi8pPuC
100 rs/fV+KFGmdXNrOED8LeJ835+6eAm3W/930P1o/Rncfi7ANQr4nuSkzCoXhwo9n8
101 RX70L1pYtGw1v3qMaDBKHGpZ0ZqSewSlQYclWG5EKg6ecR0wnLK9W62b5uExbexh
102 7d+W22NTZ9j7SVfwHG4IleZ03B+ak0NqlKpdEA9+8QLdrQsqFN8qDHqJ46ag+5xt
103 pAPmw1S2va7Gkr0BMxzdxwA5d4ZauevaEKTi5NLGdNZuHQARAQABiQEfBBgBAgAJ
104 BQJZ1PfGAhsMAAoJEKSFwd2oJy4E5R4H/3XjYvsalh2g4iYEOjZ1Ld55AA+NDlnp
105 eXJfEOlhxdnAvkTc1CfKdT3qaN5hG0m7sVowaeVbf4cDNwIQy+R75V73h2DQpno3
106 746DDC0C2jRzDBwKrUU9Y/du3REcq4kMCnhtVBMSX6rbJoxSFdCzLu/XJd9oeXbb
107 kObIeoe9FWIrswFB4NUhTHLn1bk5p8zsVbsRm3jl6ofoQmFKFoK6FauuNeB+Fc/1
108 UdMpUb1Y9dpE/akgRm/79NRHKA4plQ2X/CGZu+KIw4XVn/0ilU8FbsX+KXcp8ui0
109 XRqg8z44wtlroFTrnR+DgqplsellsrM+xGtZb9VrjFLeP89jzhrBWgE=
110 =GLje
111 -----END PGP PUBLIC KEY BLOCK-----
112 aptly:
113 server:
Alexander Noskovf1e79842018-11-07 13:57:29 +0400114 mirror_update:
115 enabled: False
Richard Felkl3d996d22018-04-02 23:29:44 +0200116 repo:
117 mcp_xenial_updates:
Richard Felklec90b722018-04-03 16:15:10 +0200118 distribution: ubuntu-xenial
Richard Felkl3d996d22018-04-02 23:29:44 +0200119 component: updates
Richard Felkl3a8b1bd2018-04-03 15:09:49 +0200120 architectures: amd64
azvyagintsev913cfa92018-12-27 16:36:05 +0200121 # Dummy repo
Richard Felkl3a8b1bd2018-04-03 15:09:49 +0200122 comment: "Local Xenial updates repository."
Richard Felklec90b722018-04-03 16:15:10 +0200123 publisher:
124 component: updates
125 distributions:
azvyagintsev5d754a02019-01-22 15:27:20 +0200126 - ubuntu-xenial/${_param:mcp_version}
Richard Felklec90b722018-04-03 16:15:10 +0200127 - ubuntu-xenial/stable
Richard Felkl344c1322018-02-19 11:55:04 +0100128 docker:
129 host:
azvyagintsev8783aae2018-10-23 15:52:44 +0300130 pkgs:
131 - docker-ce
132 - python-docker
Richard Felkl344c1322018-02-19 11:55:04 +0100133 insecure_registries:
azvyagintseva7b2b052019-01-23 19:55:22 +0200134 - ${_param:default_local_mirrror_content:docker_client_registry_target_registry}
Richard Felkl344c1322018-02-19 11:55:04 +0100135 options:
136 bip: 10.99.0.1/16
137 fixed-cidr: 10.99.0.1/17
azvyagintsev65775c92018-07-25 12:31:08 +0200138 storage-driver: overlay2
Richard Felkl344c1322018-02-19 11:55:04 +0100139 client:
140 registry:
azvyagintsev5d754a02019-01-22 15:27:20 +0200141 target_registry: ${_param:default_local_mirrror_content:docker_client_registry_target_registry}
azvyagintsev913cfa92018-12-27 16:36:05 +0200142 # List of images now at reclass-system/defaults
azvyagintsev5d754a02019-01-22 15:27:20 +0200143 image:
144 ${_param:default_local_mirrror_content:docker_client_registry_image}
Richard Felkl344c1322018-02-19 11:55:04 +0100145 git:
146 server:
147 directory: /srv/git/
azvyagintsev5d754a02019-01-22 15:27:20 +0200148 repos: ${_param:default_local_mirrror_content:git_server_repos}
Richard Felkl344c1322018-02-19 11:55:04 +0100149 nginx:
150 server:
151 site:
Richard Felkl344c1322018-02-19 11:55:04 +0100152 http_server:
153 enabled: true
154 type: nginx_static
155 name: http_server
156 root: /srv/http
157 autoindex: True
158 access_policy:
159 allow:
160 - all
161 host:
azvyagintsev913cfa92018-12-27 16:36:05 +0200162 name: http.${_param:cluster_domain}
Richard Felkl344c1322018-02-19 11:55:04 +0100163 port: 8078
azvyagintsev6efdf702018-02-27 11:31:40 +0200164 aptly_public:
165 enabled: true
166 type: nginx_proxy
167 name: aptly_public
168 proxy:
169 host: 127.0.0.1
170 port: 18085
171 protocol: http
172 size: 1G
173 host:
azvyagintsev913cfa92018-12-27 16:36:05 +0200174 name: aptly.${_param:cluster_domain}
azvyagintsev6efdf702018-02-27 11:31:40 +0200175 port: 80
176 aptly_api:
177 enabled: true
178 type: nginx_proxy
179 name: aptly_api
180 proxy:
181 host: 127.0.0.1
182 port: 18084
183 protocol: http
184 size: 1G
185 host:
azvyagintsev913cfa92018-12-27 16:36:05 +0200186 name: aptly-api.${_param:cluster_domain}
azvyagintsev6efdf702018-02-27 11:31:40 +0200187 port: 8080
188 docker_registry:
189 enabled: true
190 type: nginx_proxy
191 name: docker_registry
192 proxy:
193 host: 127.0.0.1
194 port: 15000
195 protocol: http
196 size: 1G
197 host:
azvyagintsev913cfa92018-12-27 16:36:05 +0200198 name: registry.${_param:cluster_domain}
azvyagintsev6efdf702018-02-27 11:31:40 +0200199 port: 5000
Richard Felkl344c1322018-02-19 11:55:04 +0100200 linux:
201 system:
azvyagintsev5d754a02019-01-22 15:27:20 +0200202 # List of files now at reclass-system/defaults
Richard Felkl344c1322018-02-19 11:55:04 +0100203 file:
azvyagintsev5d754a02019-01-22 15:27:20 +0200204 ${_param:default_local_mirrror_content:linux_system_file}
Richard Felkl344c1322018-02-19 11:55:04 +0100205 profile:
206 locales: |
207 export LC_ALL=C
208 directory:
209 /srv/http/images:
azvyagintsev5d754a02019-01-22 15:27:20 +0200210 user: www-data
211 group: www-data
Richard Felkl344c1322018-02-19 11:55:04 +0100212 mode: 755
213 makedirs: true
214 /srv/scripts/:
azvyagintsev5d754a02019-01-22 15:27:20 +0200215 user: www-data
216 group: www-data
Richard Felkl344c1322018-02-19 11:55:04 +0100217 mode: 755
218 makedirs: true
Jiri Broulikfa26d672018-04-12 09:54:50 +0200219 maas:
220 mirror:
221 enabled: true
222 image:
azvyagintsev100ad072018-06-01 15:04:19 +0300223 sections:
azvyagintsev5d754a02019-01-22 15:27:20 +0200224 ${_param:default_local_mirrror_content:maas_mirror_image_sections}