File tree 15 files changed +18
-18
lines changed
15 files changed +18
-18
lines changed Original file line number Diff line number Diff line change 3
3
---
4
4
{# - Get the `tplroot` from `tpldir` #}
5
5
{%- set tplroot = tpldir.split(" /" )[0 ] %}
6
- {%- from tplroot ~ " /map.jinja" import mapdata with context % }
6
+ {%- from tplroot ~ " /libs/ map.jinja" import mapdata with context % }
7
7
8
8
{%- set _mapdata = {
9
9
" values" : mapdata,
Original file line number Diff line number Diff line change 4
4
{# - Get the `tplroot` from `tpldir` #}
5
5
{%- set tplroot = tpldir.split(' /' )[0 ] %}
6
6
{%- set sls_service_clean = tplroot ~ ' .service.clean' %}
7
- {%- from tplroot ~ " /map.jinja" import mapdata as TEMPLATE with context % }
7
+ {%- from tplroot ~ " /libs/ map.jinja" import mapdata as TEMPLATE with context % }
8
8
9
9
include:
10
10
- {{ sls_service_clean }}
Original file line number Diff line number Diff line change 4
4
{# - Get the `tplroot` from `tpldir` #}
5
5
{%- set tplroot = tpldir.split(' /' )[0 ] %}
6
6
{%- set sls_package_install = tplroot ~ ' .package.install' %}
7
- {%- from tplroot ~ " /map.jinja" import mapdata as TEMPLATE with context % }
8
- {%- from tplroot ~ " /libtofs.jinja" import files_switch with context % }
7
+ {%- from tplroot ~ " /libs/ map.jinja" import mapdata as TEMPLATE with context % }
8
+ {%- from tplroot ~ " /libs/ libtofs.jinja" import files_switch with context % }
9
9
10
10
include:
11
11
- {{ sls_package_install }}
Original file line number Diff line number Diff line change 3
3
4
4
{#- Get the `tplroot` from `tpldir` #}
5
5
{% - set tplroot = tpldir .split ("/" )[0] %}
6
- {% - from tplroot ~ "/libmatchers.jinja" import parse_matchers , query_map with context %}
6
+ {% - from tplroot ~ "/libs/ libmatchers.jinja" import parse_matchers , query_map with context %}
7
7
8
8
{% - set _default_config_dirs = [
9
9
"parameters/" ,
Original file line number Diff line number Diff line change 3
3
4
4
{#- Get the `tplroot` from `tpldir` #}
5
5
{% - set tplroot = tpldir .split ("/" )[0] %}
6
- {% - from tplroot ~ "/libsaltcli.jinja" import cli with context %}
6
+ {% - from tplroot ~ "/libs/ libsaltcli.jinja" import cli with context %}
7
7
8
8
{% - set query_map = {
9
9
"C" : "config.get" ,
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change 3
3
4
4
{#- Get the `tplroot` from `tpldir` #}
5
5
{% - set tplroot = tpldir .split ("/" )[0] %}
6
- {% - from tplroot ~ "/libmapstack.jinja" import mapstack with context %}
6
+ {% - from tplroot ~ "/libs/ libmapstack.jinja" import mapstack with context %}
7
7
8
8
{#- Where to lookup parameters source files #}
9
9
{% - set formula_param_dir = tplroot ~ "/parameters" %}
63
63
64
64
{#- Per formula post-processing of `mapdata` if it exists #}
65
65
{% - do salt ["log.debug" ]("map.jinja: post-processing of 'mapdata'" ) %}
66
- {% - include tplroot ~ "/post-map.jinja" ignore missing %}
66
+ {% - include tplroot ~ "/libs/ post-map.jinja" ignore missing %}
Original file line number Diff line number Diff line change 4
4
{# - Get the `tplroot` from `tpldir` #}
5
5
{%- set tplroot = tpldir.split(' /' )[0 ] %}
6
6
{%- set sls_config_clean = tplroot ~ ' .config.clean' %}
7
- {%- from tplroot ~ " /map.jinja" import mapdata as TEMPLATE with context % }
7
+ {%- from tplroot ~ " /libs/ map.jinja" import mapdata as TEMPLATE with context % }
8
8
9
9
include:
10
10
- {{ sls_config_clean }}
Original file line number Diff line number Diff line change 3
3
4
4
{# - Get the `tplroot` from `tpldir` #}
5
5
{%- set tplroot = tpldir.split(' /' )[0 ] %}
6
- {%- from tplroot ~ " /map.jinja" import mapdata as TEMPLATE with context % }
6
+ {%- from tplroot ~ " /libs/ map.jinja" import mapdata as TEMPLATE with context % }
7
7
8
8
TEMPLATE - package- install- pkg- installed:
9
9
pkg.installed:
Original file line number Diff line number Diff line change 3
3
4
4
{# - Get the `tplroot` from `tpldir` #}
5
5
{%- set tplroot = tpldir.split(' /' )[0 ] %}
6
- {%- from tplroot ~ " /map.jinja" import mapdata as TEMPLATE with context % }
6
+ {%- from tplroot ~ " /libs/ map.jinja" import mapdata as TEMPLATE with context % }
7
7
8
8
TEMPLATE - service- clean- service- dead:
9
9
service.dead:
Original file line number Diff line number Diff line change 4
4
{# - Get the `tplroot` from `tpldir` #}
5
5
{%- set tplroot = tpldir.split(' /' )[0 ] %}
6
6
{%- set sls_config_file = tplroot ~ ' .config.file' %}
7
- {%- from tplroot ~ " /map.jinja" import mapdata as TEMPLATE with context % }
7
+ {%- from tplroot ~ " /libs/ map.jinja" import mapdata as TEMPLATE with context % }
8
8
9
9
include:
10
10
- {{ sls_config_file }}
Original file line number Diff line number Diff line change 4
4
{# - Get the `tplroot` from `tpldir` #}
5
5
{%- set tplroot = tpldir.split(' /' )[0 ] %}
6
6
{%- set sls_service_clean = tplroot ~ ' .service.clean' %}
7
- {%- from tplroot ~ " /map.jinja" import mapdata as TEMPLATE with context % }
7
+ {%- from tplroot ~ " /libs/ map.jinja" import mapdata as TEMPLATE with context % }
8
8
9
9
include:
10
10
- {{ sls_service_clean }}
Original file line number Diff line number Diff line change 4
4
{# - Get the `tplroot` from `tpldir` #}
5
5
{%- set tplroot = tpldir.split(' /' )[0 ] %}
6
6
{%- set sls_config_file = tplroot ~ ' .config.file' %}
7
- {%- from tplroot ~ " /map.jinja" import mapdata as TEMPLATE with context % }
8
- {%- from tplroot ~ " /libtofs.jinja" import files_switch with context % }
7
+ {%- from tplroot ~ " /libs/ map.jinja" import mapdata as TEMPLATE with context % }
8
+ {%- from tplroot ~ " /libs/ libtofs.jinja" import files_switch with context % }
9
9
10
10
include:
11
11
- {{ sls_config_file }}
Original file line number Diff line number Diff line change @@ -458,7 +458,7 @@ Here is the best way to use it in an ``sls`` file:
458
458
459
459
{#- Get the `tplroot` from `tpldir` #}
460
460
{%- set tplroot = tpldir.split("/")[0] %}
461
- {%- from tplroot ~ "/map.jinja" import mapdata as TEMPLATE with context %}
461
+ {%- from tplroot ~ "/libs/ map.jinja" import mapdata as TEMPLATE with context %}
462
462
463
463
test-does-nothing-but-display-TEMPLATE-as-json:
464
464
test.nop:
@@ -480,8 +480,8 @@ Here is an example based on `template-formula/TEMPLATE/config/file.sls`_:
480
480
{#- Get the `tplroot` from `tpldir` #}
481
481
{%- set tplroot = tpldir.split('/')[0] %}
482
482
{%- set sls_package_install = tplroot ~ '.package.install' %}
483
- {%- from tplroot ~ "/map.jinja" import mapdata as TEMPLATE with context %}
484
- {%- from tplroot ~ "/libtofs.jinja" import files_switch with context %}
483
+ {%- from tplroot ~ "/libs/ map.jinja" import mapdata as TEMPLATE with context %}
484
+ {%- from tplroot ~ "/libs/ libtofs.jinja" import files_switch with context %}
485
485
486
486
include:
487
487
- {{ sls_package_install }}
You can’t perform that action at this time.
0 commit comments