mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-07 17:52:46 +01:00
fix test for es repo
This commit is contained in:
@@ -328,7 +328,7 @@ so-elasticsearch:
|
||||
{% if ES_PATH_REPO %}
|
||||
{% for repo in ES_PATH_REPO %}
|
||||
# /nsm/elasticsearch/repo{{ repo }} must exist as a symlink for the bind to be created
|
||||
{% if salt['cmd.retcode']("[[ ! test -L /nsm/elasticsearch/repo{{ repo }} ]]") %}
|
||||
{% if salt['cmd.retcode']('test ! -L /nsm/elasticsearch/repo'~repo) %}
|
||||
- /nsm/elasticsearch/repo{{ repo }}:{{ repo }}:rw
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
||||
Reference in New Issue
Block a user