diff --git a/salt/elasticsearch/ca.sls b/salt/elasticsearch/ca.sls index 7d7f1bdfb..49eb44a94 100644 --- a/salt/elasticsearch/ca.sls +++ b/salt/elasticsearch/ca.sls @@ -17,10 +17,11 @@ catrustdir: {% if GLOBALS.is_manager %} # We have to add the Manager CA to the CA list -cascriptsync: +catrustscript: cmd.script: - source: salt://elasticsearch/tools/sbin_jinja/so-catrust - template: jinja + - cwd: /opt/so - defaults: GLOBALS: {{ GLOBALS }} {% endif %}