diff --git a/salt/hive/init.sls b/salt/hive/init.sls index 3fc364e4e..3f8d5e04e 100644 --- a/salt/hive/init.sls +++ b/salt/hive/init.sls @@ -97,8 +97,9 @@ so-thehive: - /opt/so/conf/hive/etc/application.conf:/opt/thehive/conf/application.conf:ro - port_bindings: - 0.0.0.0:9000:9000 - + hivescript: cmd.script: - source: salt://hive/thehive/scripts/hive_init.sh + - cwd: /root - template: jinja diff --git a/salt/utility/init.sls b/salt/utility/init.sls index 845da59c7..07996f3e6 100644 --- a/salt/utility/init.sls +++ b/salt/utility/init.sls @@ -5,6 +5,7 @@ crossclusterson: cmd.script: - shell: /bin/bash + - cwd: /root - runas: socore - source: salt://utility/bin/crossthestreams.sh - template: jinja @@ -15,6 +16,7 @@ crossclusterson: fixsearch: cmd.script: - shell: /bin/bash + - cwd: /root - runas: socore - source: salt://utility/bin/eval.sh - template: jinja