makedirs is important for 'available_dir' pillar

This commit is contained in:
N 2019-01-23 22:56:22 +00:00
parent 698f7cc724
commit 86f0ae93eb
No known key found for this signature in database
GPG Key ID: 93AFB6C0144D1A90

View File

@ -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