From 9faafaa4b2c06570abc4cf845353286c74da65ab Mon Sep 17 00:00:00 2001 From: Actaeus Curabitur Date: Tue, 6 Sep 2022 04:52:06 -0500 Subject: [PATCH] Moved conf.d creation up in init file for nextcloud and ensured it makes dirs --- states/roles/maintain/nextcloud/init.sls | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/states/roles/maintain/nextcloud/init.sls b/states/roles/maintain/nextcloud/init.sls index 9029999..bc1d035 100644 --- a/states/roles/maintain/nextcloud/init.sls +++ b/states/roles/maintain/nextcloud/init.sls @@ -8,6 +8,14 @@ nextcloud-pkgs: - nginx - openldap +nextcloud-nginx-confd: + file.directory: + - name: /etc/nginx/conf.d/ + - user: root + - group: root + - mode: 755 + - makedirs: true + /home/nextcloud/: file.directory: - user: nextcloud @@ -40,6 +48,7 @@ nextcloud-nginx-confd: - user: root - group: root - mode: 755 + - makedirs: true /etc/systemd/system/nextcloud-cron.service.d/: file.directory: