mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-07 17:52:46 +01:00
change repos to repo
This commit is contained in:
@@ -235,9 +235,9 @@ eslogdir:
|
|||||||
- group: 939
|
- group: 939
|
||||||
- makedirs: True
|
- makedirs: True
|
||||||
|
|
||||||
es_repos_dir:
|
es_repo_dir:
|
||||||
file.directory:
|
file.directory:
|
||||||
- name: /nsm/elasticsearch/repos/
|
- name: /nsm/elasticsearch/repo/
|
||||||
- user: 930
|
- user: 930
|
||||||
- group: 939
|
- group: 939
|
||||||
- require:
|
- require:
|
||||||
@@ -327,9 +327,9 @@ so-elasticsearch:
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
{% if ES_PATH_REPO %}
|
{% if ES_PATH_REPO %}
|
||||||
{% for repo in ES_PATH_REPO %}
|
{% for repo in ES_PATH_REPO %}
|
||||||
# /nsm/elasticsearch/repos{{ 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/repos{{ repo }} ]]") %}
|
{% if salt['cmd.retcode']("[[ ! test -L /nsm/elasticsearch/repo{{ repo }} ]]") %}
|
||||||
- /nsm/elasticsearch/repos{{ repo }}:{{ repo }}:rw
|
- /nsm/elasticsearch/repo{{ repo }}:{{ repo }}:rw
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
Reference in New Issue
Block a user