Initial cdn::ca class

This commit is contained in:
Patrik Lundin 2024-10-07 08:35:00 +02:00
parent 9f05f40714
commit e02160a311
Signed by: patlu
GPG key ID: A0A812BA2249F294
2 changed files with 20 additions and 0 deletions

View file

@ -32,3 +32,4 @@
'^internal-.+-test-ca-[0-9]+\.cdn\.sunet\.se$': '^internal-.+-test-ca-[0-9]+\.cdn\.sunet\.se$':
sunet::dockerhost2: sunet::dockerhost2:
cdn::ca:

View file

@ -0,0 +1,19 @@
# Configure a SUNET CDN CA server
class cdn::ca(
)
{
sunet::nftables::docker_expose { 'expose step-ca' :
allow_clients => 'any',
port => 9000,
iif => $facts['networking']['primary'],
}
# sunet::docker_compose { 'sunet-cdn-ca':
# content => template('cdn/ca/docker-compose.yml.erb'),
# service_name => 'cdn-l4lb',
# compose_dir => '/opt/sunet-cdn/compose',
# compose_filename => 'docker-compose.yml',
# description => 'SUNET CDN CA',
# }
}