mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-08 02:02:50 +01:00
fix test for es repo
This commit is contained in:
@@ -328,7 +328,7 @@ so-elasticsearch:
|
|||||||
{% if ES_PATH_REPO %}
|
{% if ES_PATH_REPO %}
|
||||||
{% for repo in ES_PATH_REPO %}
|
{% for repo in ES_PATH_REPO %}
|
||||||
# /nsm/elasticsearch/repo{{ repo }} must exist as a symlink for the bind to be created
|
# /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
|
- /nsm/elasticsearch/repo{{ repo }}:{{ repo }}:rw
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|||||||
Reference in New Issue
Block a user