Fix in config.sls with the new naming for source_path
This commit is contained in:
parent
8c0259c593
commit
60b5c732d7
@ -13,7 +13,7 @@ nginx_log_dir:
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if 'source_path' in nginx.server.config %}
|
{% if 'source_path' in nginx.server.config %}
|
||||||
{% set source_path = nginx.server.config.source %}
|
{% set source_path = nginx.server.config.source_path %}
|
||||||
{% else %}
|
{% else %}
|
||||||
{% set source_path = 'salt://nginx/ng/files/nginx.conf' %}
|
{% set source_path = 'salt://nginx/ng/files/nginx.conf' %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
Loading…
Reference in New Issue
Block a user