feat: add edgecache role

- add edge-caching role
- add mirror for debian, almalinux and epel repositories
- export service as edgecache in consul
This commit is contained in:
2024-05-11 21:46:20 +10:00
parent 9edd060367
commit 4171427e7b
6 changed files with 283 additions and 0 deletions
@@ -0,0 +1,13 @@
# profiles::edgecache::params
class profiles::edgecache::params (
Stdlib::Absolutepath $data_root = '/data/edgecache',
Stdlib::Fqdn $nginx_vhost = $facts['networking']['fqdn'],
Array[Stdlib::Host] $nginx_aliases = [],
Stdlib::Port $nginx_port = 80,
Stdlib::Port $nginx_ssl_port = 443,
Enum['http','https','both'] $nginx_listen_mode = 'http',
Enum['puppet', 'vault'] $nginx_cert_type = 'vault',
Hash $directories = {},
Hash $mirrors = {},
){
}