Merge pull request #205 from noelmcloughlin/master

makedirs needed for 'available_dir' pillar
This commit is contained in:
Niels Abspoel 2019-01-25 19:51:56 +01:00 committed by GitHub
commit bd9fb88eee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -111,6 +111,7 @@ nginx_server_available_dir:
{{ sls_block(nginx.servers.managed_opts) }} {{ sls_block(nginx.servers.managed_opts) }}
- name: {{ server_curpath(server) }} - name: {{ server_curpath(server) }}
- source: {{ source_path }} - source: {{ source_path }}
- makedirs: True
- template: jinja - template: jinja
- require_in: - require_in:
- service: nginx_service - service: nginx_service