- add edge-caching role - add mirror for debian, almalinux and epel repositories - export service as edgecache in consul
14 lines
466 B
Puppet
14 lines
466 B
Puppet
# 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 = {},
|
|
){
|
|
}
|