From 026c5c5d03da7b479a4b4f7905d978a307ca0356 Mon Sep 17 00:00:00 2001 From: Micke Nordin Date: Tue, 24 Sep 2024 15:36:06 +0200 Subject: [PATCH] Add audit log to other logs --- manifests/app_type.pp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/manifests/app_type.pp b/manifests/app_type.pp index 698a311..85440fb 100644 --- a/manifests/app_type.pp +++ b/manifests/app_type.pp @@ -207,6 +207,13 @@ define sunetdrive::app_type ( group => 'root', mode => '0640', } + file { '/opt/nextcloud/audit.log': + ensure => file, + force => true, + owner => 'www-data', + group => 'root', + mode => '0644', + } file { '/opt/nextcloud/rclone.conf': ensure => file, owner => 'www-data',