Make sure customer conf dir is created

This commit is contained in:
Patrik Lundin 2024-10-10 15:31:54 +02:00
parent 170bdbc154
commit bacdb2c90a
Signed by: patlu
GPG key ID: A0A812BA2249F294

View file

@ -49,6 +49,13 @@ class cdn::cache(
mode => '0750', mode => '0750',
} }
file { "/opt/sunet-cdn/customers/$customer/conf":
ensure => directory,
owner => $customer_uid,
group => $customer_uid,
mode => '0750',
}
file { "/opt/sunet-cdn/customers/$customer/shared": file { "/opt/sunet-cdn/customers/$customer/shared":
ensure => directory, ensure => directory,
owner => $customer_uid, owner => $customer_uid,