File tree Expand file tree Collapse file tree 5 files changed +14
-9
lines changed
Expand file tree Collapse file tree 5 files changed +14
-9
lines changed Original file line number Diff line number Diff line change 22# vim: ft=sls
33
44include:
5- - template.install
6- - template.config
7- - template.service
5+ - template.pkg
Original file line number Diff line number Diff line change 22# vim: ft=sls
33
44{%- set topdir = tpldir.split(' /' )[0 ] %}
5- {%- from tpldir ~ " /map.jinja" import template with context % }
6- {%- from tpldir ~ " /macros.jinja" import files_switch with context % }
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 % }
77
88include:
9- - template .install
9+ - .install
1010
1111template- config:
1212 file .managed:
Original file line number Diff line number Diff line change 1+ # -*- coding: utf-8 -*-
2+ # vim: ft=sls
3+
4+ include:
5+ - .install
6+ - .config
7+ - .service
Original file line number Diff line number Diff line change 11# -*- coding: utf-8 -*-
22# vim: ft=sls
33
4- {%- from tpldir ~ " /map.jinja" import template with context % }
4+ {%- from salt[ ' file.dirname ' ]( tpldir) ~ " /map.jinja" import template with context % }
55
66template- pkg:
77 pkg.installed:
Original file line number Diff line number Diff line change 11# -*- coding: utf-8 -*-
22# vim: ft=sls
33
4- {%- from tpldir ~ " /map.jinja" import template with context % }
4+ {%- from salt[ ' file.dirname ' ]( tpldir) ~ " /map.jinja" import template with context % }
55
66include:
7- - template .config
7+ - .config
88
99template- name:
1010 service.running:
You can’t perform that action at this time.
0 commit comments