Initial cdn::ca class
This commit is contained in:
parent
9f05f40714
commit
e02160a311
2 changed files with 20 additions and 0 deletions
|
@ -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:
|
||||||
|
|
19
global/overlay/etc/puppet/modules/cdn/manifests/ca.pp
Normal file
19
global/overlay/etc/puppet/modules/cdn/manifests/ca.pp
Normal 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',
|
||||||
|
# }
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue