cwd for catrustscript

This commit is contained in:
m0duspwnens
2023-05-16 12:08:44 -04:00
parent 6325f6db16
commit 2419fa43b6

View File

@@ -17,10 +17,11 @@ catrustdir:
{% if GLOBALS.is_manager %} {% if GLOBALS.is_manager %}
# We have to add the Manager CA to the CA list # We have to add the Manager CA to the CA list
cascriptsync: catrustscript:
cmd.script: cmd.script:
- source: salt://elasticsearch/tools/sbin_jinja/so-catrust - source: salt://elasticsearch/tools/sbin_jinja/so-catrust
- template: jinja - template: jinja
- cwd: /opt/so
- defaults: - defaults:
GLOBALS: {{ GLOBALS }} GLOBALS: {{ GLOBALS }}
{% endif %} {% endif %}