Skip to content

Commit

Permalink
fix(jinja): pass dict as yaml to jinja renderer
Browse files Browse the repository at this point in the history
  • Loading branch information
noelmcloughlin committed Jul 1, 2019
1 parent 5bd353b commit 8464691
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion deepsea/config/environ.sls
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@ deepsea-config-file-file-managed-environ_file:
- makedirs: True
- template: jinja
- context:
config: {{ deepsea.environ }}
config: {{ deepsea.environ|yaml }}
- require:
- sls: {{ sls_source_install if deepsea.pkg.use_upstream_source else sls_package_install }}
2 changes: 1 addition & 1 deletion deepsea/map.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
{#- Start imports as #}
{%- import_yaml tplroot ~ "/defaults.yaml" as default_settings %}
{%- import_yaml tplroot ~ "/osfamilymap.yaml" as osfamilymap %}
{%- import_yaml tplroot ~ "/osfingermap.yaml" as osmfingerap %}
{%- import_yaml tplroot ~ "/osfingermap.yaml" as osfingermap %}
{%- import_yaml tplroot ~ "/osmap.yaml" as osmap %}

{#- Retrieve the config dict only once #}
Expand Down

0 comments on commit 8464691

Please sign in to comment.