Skip to content

Commit f808d55

Browse files
Lucianovicidanny-smit
authored andcommitted
fix(config): import YAML with context
1 parent d434e25 commit f808d55

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

docker/map.jinja

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
# vim: ft=jinja
33

44
{%- set tplroot = tpldir.split('/')[0] %}
5-
{%- import_yaml tplroot ~ "/defaults.yaml" as default_settings %}
6-
{%- import_yaml tplroot ~ "/osfamilymap.yaml" as osfamilymap %}
7-
{%- import_yaml tplroot ~ "/osfingermap.yaml" as osfingermap %}
8-
{%- import_yaml tplroot ~ "/osmap.yaml" as osmap %}
9-
{%- import_yaml tplroot ~ "/codenamemap.yaml" as codenamemap %}
10-
{%- import_yaml tplroot ~ "/osarchmap.yaml" as osarchmap %}
11-
{%- import_yaml tplroot ~ "/cpuarchmap.yaml" as cpuarchmap %}
5+
{%- import_yaml tplroot ~ "/defaults.yaml" as default_settings with context %}
6+
{%- import_yaml tplroot ~ "/osfamilymap.yaml" as osfamilymap with context %}
7+
{%- import_yaml tplroot ~ "/osfingermap.yaml" as osfingermap with context %}
8+
{%- import_yaml tplroot ~ "/osmap.yaml" as osmap with context %}
9+
{%- import_yaml tplroot ~ "/codenamemap.yaml" as codenamemap with context %}
10+
{%- import_yaml tplroot ~ "/osarchmap.yaml" as osarchmap with context %}
11+
{%- import_yaml tplroot ~ "/cpuarchmap.yaml" as cpuarchmap with context %}
1212

1313
{%- set _config = salt['config.get'](tplroot, default={}) %}
1414
{%- set defaults = salt['grains.filter_by'](

0 commit comments

Comments
 (0)