Richard Felkl | 344c132 | 2018-02-19 11:55:04 +0100 | [diff] [blame] | 1 | classes: |
azvyagintsev | 8783aae | 2018-10-23 15:52:44 +0300 | [diff] [blame] | 2 | - service.docker.host |
azvyagintsev | 6efdf70 | 2018-02-27 11:31:40 +0200 | [diff] [blame] | 3 | - system.aptly.server.docker |
| 4 | - system.aptly.client.publisher |
azvyagintsev | 7845639 | 2018-10-26 13:46:56 +0300 | [diff] [blame] | 5 | - system.debmirror.mirror_mirantis_com |
Richard Felkl | 344c132 | 2018-02-19 11:55:04 +0100 | [diff] [blame] | 6 | - system.git.server.single |
Richard Felkl | 344c132 | 2018-02-19 11:55:04 +0100 | [diff] [blame] | 7 | - system.docker.client |
azvyagintsev | 6efdf70 | 2018-02-27 11:31:40 +0200 | [diff] [blame] | 8 | - system.docker.swarm.stack.aptly |
azvyagintsev | 6efdf70 | 2018-02-27 11:31:40 +0200 | [diff] [blame] | 9 | - system.docker.swarm.manager |
| 10 | - system.docker.swarm.master |
Richard Felkl | 344c132 | 2018-02-19 11:55:04 +0100 | [diff] [blame] | 11 | parameters: |
| 12 | _param: |
Richard Felkl | 344c132 | 2018-02-19 11:55:04 +0100 | [diff] [blame] | 13 | aptly_gpg_keypair_id: A8272E04 |
| 14 | aptly_gpg_passphrase: "" |
| 15 | aptly_server_secure: true |
azvyagintsev | 6efdf70 | 2018-02-27 11:31:40 +0200 | [diff] [blame] | 16 | docker_stack_aptly_public_replicas: 1 |
| 17 | docker_registry_http_secret: 'Thoh0unuaeSeeT9i' |
azvyagintsev | 2110338 | 2018-04-07 17:48:38 +0300 | [diff] [blame] | 18 | # Upstream mirrors: |
azvyagintsev | 5e648a3 | 2018-08-23 12:50:20 +0300 | [diff] [blame] | 19 | #mcp_docker_registry: 'docker-prod-local.artifactory.mirantis.com' |
azvyagintsev | 7210436 | 2018-08-21 21:53:56 +0300 | [diff] [blame] | 20 | #vcp_images_mirror: 'http://images.mirantis.com' |
azvyagintsev | 5d754a0 | 2019-01-22 15:27:20 +0200 | [diff] [blame] | 21 | mcp_static_images_url: 'http://images.mcp.mirantis.net/' |
azvyagintsev | 5e648a3 | 2018-08-23 12:50:20 +0300 | [diff] [blame] | 22 | mcp_docker_registry: 'docker-prod-local.docker.mirantis.net' |
Richard Felkl | 344c132 | 2018-02-19 11:55:04 +0100 | [diff] [blame] | 23 | aptly_gpg_private_key: | |
| 24 | -----BEGIN PGP PRIVATE KEY BLOCK----- |
| 25 | Version: GnuPG v1 |
| 26 | |
| 27 | lQOYBFnU98YBCACdTxOkxAJJQaQ4B9sEsh9s4MMOMxPSCwvzgGbk6HECDBhz2auF |
| 28 | FfVydNbjLfoih8qdaLSmBQg8+FtdYJHEG1lekeiUETOxJnkhUFXq85KGNj9BbGBr |
| 29 | m3/6Jo58pdMNdUMurAs807STvH3iTAhYymggX1u9GyjKbv24p2KMGuK1gC3W04NG |
| 30 | qOQX3iwjmBWq87fX7tNLafptCq5A9TAv4Dvt1XZgGCiLI+EcPyfgNB1W/+EOOkFu |
| 31 | jFdM43nm0YE3Bf4uuVR/u0REprYJfChdS6qYYgI3n2LuPyi9WMVVee+1RZmTwFcB |
| 32 | cS53h+gq1GHOhj+YOwm3+ctmIoTNi26siutdABEBAAEAB/wP10AzpddTGCyYxdW8 |
| 33 | zdETTjjmK6eRzbH45dO2tl925M/rjp5SiwkJ6xEelGktY/43xqz2UOho91t/9jMH |
| 34 | i/d+afQBQRAzBRxKigP04m09XaYWCPtWqrSC9LIBhFNR9h57SzDggbMb8227xYtL |
| 35 | oapFpEShMOR1KiMbnqNyV1zACQ1pHOZZOWzat8nFuKDeqA3n3Y/Cm8OCrX4QSGIU |
| 36 | FEqdQs7jgNhhxKEsmFUJfxF8KtTAyrdB0PVC6iyY3wifbpNZUk2IBfTa738LHcOo |
| 37 | Fc+griAsOPFCS1hLejZQphUX8NmyvE3nbzhsB8rNJqyKFgtFlIj7VpPMiYzK7P0h |
| 38 | 1NdjBADF/vZSnwMX2FQ2BKiWd35wHGLtwKGIKCWU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JkWfUCRdTZATK+c3HipEXxdEN/Z4z0GmBDD |
| 69 | 2eRoqagXiwXIxFA0REDgx6FXm4laXEUzyrIPIzuzZbtV9x6S/FlzyXdZcLZoavkr |
| 70 | PX7SK0t7pCxZA/0UcBegcuKSlHtLkBAD/1cdj2OlgteGqbpRP3d4FLADrsBw+iCN |
| 71 | h8lVfNtjKvcpY46ihqHZjZMcfaeI9p49N7HqwuuRaqKi7mE8QOuBM1oTAJ72CwV/ |
| 72 | bx+zDYDiL+2EQbZh58yPjwnLn7PcTNpMZ7RT58iGw6xXaJTkJTqiFthcG0B/iQEf |
| 73 | BBgBAgAJBQJZ1PfGAhsMAAoJEKSFwd2oJy4E5R4H/3XjYvsalh2g4iYEOjZ1Ld55 |
| 74 | AA+NDlnpeXJfEOlhxdnAvkTc1CfKdT3qaN5hG0m7sVowaeVbf4cDNwIQy+R75V73 |
| 75 | h2DQpno3746DDC0C2jRzDBwKrUU9Y/du3REcq4kMCnhtVBMSX6rbJoxSFdCzLu/X |
| 76 | Jd9oeXbbkObIeoe9FWIrswFB4NUhTHLn1bk5p8zsVbsRm3jl6ofoQmFKFoK6Fauu |
| 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/6Jo58pdMNdUMurAs807STvH3iTAhYymggX1u9GyjKbv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drQsqFN8qDHqJ46ag+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 Noskov | f1e7984 | 2018-11-07 13:57:29 +0400 | [diff] [blame] | 114 | mirror_update: |
| 115 | enabled: False |
Richard Felkl | 3d996d2 | 2018-04-02 23:29:44 +0200 | [diff] [blame] | 116 | repo: |
| 117 | mcp_xenial_updates: |
Richard Felkl | ec90b72 | 2018-04-03 16:15:10 +0200 | [diff] [blame] | 118 | distribution: ubuntu-xenial |
Richard Felkl | 3d996d2 | 2018-04-02 23:29:44 +0200 | [diff] [blame] | 119 | component: updates |
Richard Felkl | 3a8b1bd | 2018-04-03 15:09:49 +0200 | [diff] [blame] | 120 | architectures: amd64 |
azvyagintsev | 913cfa9 | 2018-12-27 16:36:05 +0200 | [diff] [blame] | 121 | # Dummy repo |
Richard Felkl | 3a8b1bd | 2018-04-03 15:09:49 +0200 | [diff] [blame] | 122 | comment: "Local Xenial updates repository." |
Richard Felkl | ec90b72 | 2018-04-03 16:15:10 +0200 | [diff] [blame] | 123 | publisher: |
| 124 | component: updates |
| 125 | distributions: |
azvyagintsev | 5d754a0 | 2019-01-22 15:27:20 +0200 | [diff] [blame] | 126 | - ubuntu-xenial/${_param:mcp_version} |
Richard Felkl | ec90b72 | 2018-04-03 16:15:10 +0200 | [diff] [blame] | 127 | - ubuntu-xenial/stable |
Richard Felkl | 344c132 | 2018-02-19 11:55:04 +0100 | [diff] [blame] | 128 | docker: |
| 129 | host: |
azvyagintsev | 8783aae | 2018-10-23 15:52:44 +0300 | [diff] [blame] | 130 | pkgs: |
| 131 | - docker-ce |
| 132 | - python-docker |
Richard Felkl | 344c132 | 2018-02-19 11:55:04 +0100 | [diff] [blame] | 133 | insecure_registries: |
azvyagintsev | a7b2b05 | 2019-01-23 19:55:22 +0200 | [diff] [blame^] | 134 | - ${_param:default_local_mirrror_content:docker_client_registry_target_registry} |
Richard Felkl | 344c132 | 2018-02-19 11:55:04 +0100 | [diff] [blame] | 135 | options: |
| 136 | bip: 10.99.0.1/16 |
| 137 | fixed-cidr: 10.99.0.1/17 |
azvyagintsev | 65775c9 | 2018-07-25 12:31:08 +0200 | [diff] [blame] | 138 | storage-driver: overlay2 |
Richard Felkl | 344c132 | 2018-02-19 11:55:04 +0100 | [diff] [blame] | 139 | client: |
| 140 | registry: |
azvyagintsev | 5d754a0 | 2019-01-22 15:27:20 +0200 | [diff] [blame] | 141 | target_registry: ${_param:default_local_mirrror_content:docker_client_registry_target_registry} |
azvyagintsev | 913cfa9 | 2018-12-27 16:36:05 +0200 | [diff] [blame] | 142 | # List of images now at reclass-system/defaults |
azvyagintsev | 5d754a0 | 2019-01-22 15:27:20 +0200 | [diff] [blame] | 143 | image: |
| 144 | ${_param:default_local_mirrror_content:docker_client_registry_image} |
Richard Felkl | 344c132 | 2018-02-19 11:55:04 +0100 | [diff] [blame] | 145 | git: |
| 146 | server: |
| 147 | directory: /srv/git/ |
azvyagintsev | 5d754a0 | 2019-01-22 15:27:20 +0200 | [diff] [blame] | 148 | repos: ${_param:default_local_mirrror_content:git_server_repos} |
Richard Felkl | 344c132 | 2018-02-19 11:55:04 +0100 | [diff] [blame] | 149 | nginx: |
| 150 | server: |
| 151 | site: |
Richard Felkl | 344c132 | 2018-02-19 11:55:04 +0100 | [diff] [blame] | 152 | 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: |
azvyagintsev | 913cfa9 | 2018-12-27 16:36:05 +0200 | [diff] [blame] | 162 | name: http.${_param:cluster_domain} |
Richard Felkl | 344c132 | 2018-02-19 11:55:04 +0100 | [diff] [blame] | 163 | port: 8078 |
azvyagintsev | 6efdf70 | 2018-02-27 11:31:40 +0200 | [diff] [blame] | 164 | 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: |
azvyagintsev | 913cfa9 | 2018-12-27 16:36:05 +0200 | [diff] [blame] | 174 | name: aptly.${_param:cluster_domain} |
azvyagintsev | 6efdf70 | 2018-02-27 11:31:40 +0200 | [diff] [blame] | 175 | 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: |
azvyagintsev | 913cfa9 | 2018-12-27 16:36:05 +0200 | [diff] [blame] | 186 | name: aptly-api.${_param:cluster_domain} |
azvyagintsev | 6efdf70 | 2018-02-27 11:31:40 +0200 | [diff] [blame] | 187 | 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: |
azvyagintsev | 913cfa9 | 2018-12-27 16:36:05 +0200 | [diff] [blame] | 198 | name: registry.${_param:cluster_domain} |
azvyagintsev | 6efdf70 | 2018-02-27 11:31:40 +0200 | [diff] [blame] | 199 | port: 5000 |
Richard Felkl | 344c132 | 2018-02-19 11:55:04 +0100 | [diff] [blame] | 200 | linux: |
| 201 | system: |
azvyagintsev | 5d754a0 | 2019-01-22 15:27:20 +0200 | [diff] [blame] | 202 | # List of files now at reclass-system/defaults |
Richard Felkl | 344c132 | 2018-02-19 11:55:04 +0100 | [diff] [blame] | 203 | file: |
azvyagintsev | 5d754a0 | 2019-01-22 15:27:20 +0200 | [diff] [blame] | 204 | ${_param:default_local_mirrror_content:linux_system_file} |
Richard Felkl | 344c132 | 2018-02-19 11:55:04 +0100 | [diff] [blame] | 205 | profile: |
| 206 | locales: | |
| 207 | export LC_ALL=C |
| 208 | directory: |
| 209 | /srv/http/images: |
azvyagintsev | 5d754a0 | 2019-01-22 15:27:20 +0200 | [diff] [blame] | 210 | user: www-data |
| 211 | group: www-data |
Richard Felkl | 344c132 | 2018-02-19 11:55:04 +0100 | [diff] [blame] | 212 | mode: 755 |
| 213 | makedirs: true |
| 214 | /srv/scripts/: |
azvyagintsev | 5d754a0 | 2019-01-22 15:27:20 +0200 | [diff] [blame] | 215 | user: www-data |
| 216 | group: www-data |
Richard Felkl | 344c132 | 2018-02-19 11:55:04 +0100 | [diff] [blame] | 217 | mode: 755 |
| 218 | makedirs: true |
Jiri Broulik | fa26d67 | 2018-04-12 09:54:50 +0200 | [diff] [blame] | 219 | maas: |
| 220 | mirror: |
| 221 | enabled: true |
| 222 | image: |
azvyagintsev | 100ad07 | 2018-06-01 15:04:19 +0300 | [diff] [blame] | 223 | sections: |
azvyagintsev | 5d754a0 | 2019-01-22 15:27:20 +0200 | [diff] [blame] | 224 | ${_param:default_local_mirrror_content:maas_mirror_image_sections} |