From 86f0ae93eb220bb471a77431a116fac8d04bacdf Mon Sep 17 00:00:00 2001 From: N Date: Wed, 23 Jan 2019 22:56:22 +0000 Subject: [PATCH] makedirs is important for 'available_dir' pillar --- nginx/ng/servers_config.sls | 1 + 1 file changed, 1 insertion(+) diff --git a/nginx/ng/servers_config.sls b/nginx/ng/servers_config.sls index b5cd9e0..b07d207 100644 --- a/nginx/ng/servers_config.sls +++ b/nginx/ng/servers_config.sls @@ -111,6 +111,7 @@ nginx_server_available_dir: {{ sls_block(nginx.servers.managed_opts) }} - name: {{ server_curpath(server) }} - source: {{ source_path }} + - makedirs: True - template: jinja - require_in: - service: nginx_service