mirror of
https://github.com/saltstack-formulas/salt-formula.git
synced 2026-10-07 18:49:35 +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.use_pip %}
|
||||
@@ -34,7 +35,7 @@ salt-cloud:
|
||||
cloud-cert-{{ cert }}-pem:
|
||||
file.managed:
|
||||
- name: {{ salt_settings.config_path }}/pki/cloud/{{ cert }}.pem
|
||||
- source: salt://{{ slspath }}/files/key
|
||||
- source: salt://{{ tplroot }}/files/key
|
||||
- template: jinja
|
||||
- user: root
|
||||
- group:
|
||||
|
||||
Reference in new issue
Block a user