From 4856be3f0611179d5e64e090d61cd91d45bfa157 Mon Sep 17 00:00:00 2001 From: Patrik Lundin Date: Tue, 22 Oct 2024 17:11:58 +0200 Subject: [PATCH] Rework dir layout to match other hosts --- .../etc/puppet/modules/cdn/manifests/l4lb.pp | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/global/overlay/etc/puppet/modules/cdn/manifests/l4lb.pp b/global/overlay/etc/puppet/modules/cdn/manifests/l4lb.pp index 5d5c879..c75ecd9 100644 --- a/global/overlay/etc/puppet/modules/cdn/manifests/l4lb.pp +++ b/global/overlay/etc/puppet/modules/cdn/manifests/l4lb.pp @@ -15,14 +15,28 @@ class cdn::l4lb( } } - file { '/etc/sunet-l4lb': + file { '/opt/sunet-cdn': ensure => directory, owner => 'root', group => 'root', 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, owner => 'root', group => 'root',