From 382e053c58c1b4e4f3ceb1af8fd75e2f56f6d153 Mon Sep 17 00:00:00 2001 From: Benjamin Neff Date: Wed, 14 Oct 2020 03:33:24 +0200 Subject: [PATCH] fix(logs): don't change owners of logfiles with salt The logs are created by apache or logrotate, but salt shouldn't change permissions of existing logfiles everytime it runs. --- apache/config/file.sls | 3 --- 1 file changed, 3 deletions(-) diff --git a/apache/config/file.sls b/apache/config/file.sls index feaa184..2da8862 100644 --- a/apache/config/file.sls +++ b/apache/config/file.sls @@ -16,9 +16,6 @@ apache-config-file-directory-logdir: - name: {{ apache.logdir }} - user: {{ apache.user }} - group: {{ apache.group }} - - recurse: - - user - - group - makedirs: True - require: - sls: {{ sls_package_install }}