fix(tpl_path): replace slspath to tplroot

This commit is contained in:
sticky-note committed 2020-02-13 09:43:25 +11:00
1 parent d2d51864a5
commit bbcc4cda7a
5 files changed
+8 -5

No files matched your search

+2 -1
View File
@@ -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: