From e182dd8fe63d1bf1a50311ba6e769fe7b24b8adb Mon Sep 17 00:00:00 2001 From: Antsiferov Grigory Date: Tue, 4 Jul 2017 13:48:05 +0300 Subject: [PATCH] Add /usr/lib/nginx/ directory state; --- sls/nginx/init.sls | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/sls/nginx/init.sls b/sls/nginx/init.sls index eb72e16..b6b4a19 100644 --- a/sls/nginx/init.sls +++ b/sls/nginx/init.sls @@ -191,12 +191,21 @@ nginx-reload: - user: root - group: root +/usr/lib/nginx/: + file.directory: + - create: True + - mode: 755 + - user: root + - group: root + /usr/lib/nginx/modules/: file.directory: - create: True - mode: 755 - user: root - group: root + - require: + - file: /usr/lib/nginx/ /var/cache/nginx/: file.directory: