Skip to content

Commit

Permalink
Update config.sls to disable sorting
Browse files Browse the repository at this point in the history
Adding sort_keys=False to json() allows nginx.server.config to be sorted as needed for the resulting config file to work with access_log+log_format (issue saltstack-formulas#102) and other parameters (issue saltstack-formulas#40)
  • Loading branch information
lingonl committed May 26, 2016
1 parent d9002d3 commit b3c6504
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nginx/ng/config.sls
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ nginx_config:
- source: salt://nginx/ng/files/nginx.conf
- template: jinja
- context:
config: {{ nginx.server.config|json() }}
config: {{ nginx.server.config|json(sort_keys=False) }}

0 comments on commit b3c6504

Please sign in to comment.