mirror of
https://github.com/saltstack-formulas/salt-formula.git
synced 2026-10-07 03:28:55 +02:00
fix(tpl_path): replace slspath to tplroot
This commit is contained in:
1 parent
d2d51864a5
commit
bbcc4cda7a
5 files changed
+8
-5
No files matched your search
+2
-1
@@ -1,3 +1,4 @@
|
||||
{%- set tplroot = tpldir.split('/')[0] %}
|
||||
{% from "salt/map.jinja" import salt_settings with context %}
|
||||
|
||||
{% if salt_settings.install_packages %}
|
||||
@@ -12,7 +13,7 @@ ensure-salt-ssh-is-installed:
|
||||
ensure-roster-config:
|
||||
file.managed:
|
||||
- name: {{ salt_settings.config_path }}/roster
|
||||
- source: salt://{{ slspath }}/files/roster.jinja
|
||||
- source: salt://{{ tplroot }}/files/roster.jinja
|
||||
- template: jinja
|
||||
{% if salt_settings.install_packages %}
|
||||
- require:
|
||||
|
||||
Reference in new issue
Block a user