Browse Source

Adjusts the parameters passed to context to be passed as json and hopefully avoid double quoting. Also brings indentation in-line with salt doc 23.14.1.2.1

tags/v0.55.0
Chad Heuschober 10 years ago
parent
commit
88c39caa52
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      nginx/ng/config.sls
  2. +1
    -1
      nginx/ng/vhosts_config.sls

+ 1
- 1
nginx/ng/config.sls View File

- source: salt://nginx/ng/files/nginx.conf - source: salt://nginx/ng/files/nginx.conf
- template: jinja - template: jinja
- context: - context:
config: {{ nginx.server.config }}
config: {{ nginx.server.config|json() }}

+ 1
- 1
nginx/ng/vhosts_config.sls View File

- source: salt://nginx/ng/files/vhost.conf - source: salt://nginx/ng/files/vhost.conf
- template: jinja - template: jinja
- context: - context:
config: {{ settings.config }}
config: {{ settings.config|json() }}
{% do vhost_states.append(conf_state_id) %} {% do vhost_states.append(conf_state_id) %}
{% endif %} {% endif %}



Loading…
Cancel
Save