File tree Expand file tree Collapse file tree 4 files changed +12
-5
lines changed
Expand file tree Collapse file tree 4 files changed +12
-5
lines changed Original file line number Diff line number Diff line change 11# -*- coding: utf-8 -*-
22# vim: ft=sls
33
4- {%- from salt[' file.dirname' ](tpldir) ~ " /map.jinja" import template with context % }
4+ {# - Get the `topdir` from `tpldir` #}
5+ {%- set topdir = tpldir.split(' /' )[0 ] %}
6+ {%- from topdir ~ " /map.jinja" import template with context % }
57
68template- service- dead:
79 service.dead:
Original file line number Diff line number Diff line change 11# -*- coding: utf-8 -*-
22# vim: ft=sls
33
4+ {# - Get the `topdir` from `tpldir` #}
45{%- set topdir = tpldir.split(' /' )[0 ] %}
5- {%- from salt[ ' file.dirname ' ](tpldir) ~ " /map.jinja" import template with context % }
6- {%- from salt[ ' file.dirname ' ](tpldir) ~ " /macros.jinja" import files_switch with context % }
6+ {%- from topdir ~ " /map.jinja" import template with context % }
7+ {%- from topdir ~ " /macros.jinja" import files_switch with context % }
78
89include:
910 - .install
Original file line number Diff line number Diff line change 11# -*- coding: utf-8 -*-
22# vim: ft=sls
33
4- {%- from salt[' file.dirname' ](tpldir) ~ " /map.jinja" import template with context % }
4+ {# - Get the `topdir` from `tpldir` #}
5+ {%- set topdir = tpldir.split(' /' )[0 ] %}
6+ {%- from topdir ~ " /map.jinja" import template with context % }
57
68template- pkg:
79 pkg.installed:
Original file line number Diff line number Diff line change 11# -*- coding: utf-8 -*-
22# vim: ft=sls
33
4- {%- from salt[' file.dirname' ](tpldir) ~ " /map.jinja" import template with context % }
4+ {# - Get the `topdir` from `tpldir` #}
5+ {%- set topdir = tpldir.split(' /' )[0 ] %}
6+ {%- from topdir ~ " /map.jinja" import template with context % }
57
68include:
79 - .config
You can’t perform that action at this time.
0 commit comments