makedirs is important for 'available_dir' pillar
This commit is contained in:
parent
698f7cc724
commit
86f0ae93eb
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user