Rework dir layout to match other hosts

This commit is contained in:
Patrik Lundin 2024-10-22 17:11:58 +02:00
parent f588078b75
commit 4856be3f06
Signed by: patlu
GPG key ID: A0A812BA2249F294

View file

@ -15,14 +15,28 @@ class cdn::l4lb(
} }
} }
file { '/etc/sunet-l4lb': file { '/opt/sunet-cdn':
ensure => directory, ensure => directory,
owner => 'root', owner => 'root',
group => 'root', group => 'root',
mode => '0640', mode => '0640',
} }
file { '/etc/sunet-l4lb/netns.json': file { '/opt/sunet-cdn/l4lb':
ensure => directory,
owner => 'root',
group => 'root',
mode => '0640',
}
file { '/opt/sunet-cdn/l4lb/conf':
ensure => directory,
owner => 'root',
group => 'root',
mode => '0640',
}
file { '/opt/sunet-cdn/l4lb/conf/netns.json':
ensure => file, ensure => file,
owner => 'root', owner => 'root',
group => 'root', group => 'root',