mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-10 03:02:58 +01:00
Merge remote-tracking branch 'origin/2.4/dev' into vlb2
This commit is contained in:
@@ -3,5 +3,5 @@ elastic_curl_config_distributed:
|
||||
- name: /opt/so/saltstack/local/salt/elasticsearch/curl.config
|
||||
- source: salt://elasticsearch/files/curl.config.template
|
||||
- template: jinja
|
||||
- mode: 600
|
||||
- mode: 640
|
||||
- show_changes: False
|
||||
|
||||
@@ -127,15 +127,28 @@ so_fleetagent_status:
|
||||
- month: '*'
|
||||
- dayweek: '*'
|
||||
|
||||
socore_own_saltstack:
|
||||
socore_own_saltstack_default:
|
||||
file.directory:
|
||||
- name: /opt/so/saltstack
|
||||
- name: /opt/so/saltstack/default
|
||||
- user: socore
|
||||
- group: socore
|
||||
- recurse:
|
||||
- user
|
||||
- group
|
||||
|
||||
socore_own_saltstack_local:
|
||||
file.directory:
|
||||
- name: /opt/so/saltstack/local
|
||||
- user: socore
|
||||
- group: socore
|
||||
- dir_mode: 750
|
||||
- file_mode: 640
|
||||
- replace: False
|
||||
- recurse:
|
||||
- user
|
||||
- group
|
||||
- mode
|
||||
|
||||
rules_dir:
|
||||
file.directory:
|
||||
- name: /nsm/rules/yara
|
||||
|
||||
@@ -200,7 +200,7 @@ function testMinion() {
|
||||
|
||||
function restartMinion() {
|
||||
log "INFO" "Restarting minion $MINION_ID"
|
||||
salt "$MINION_ID" system.reboot
|
||||
salt "$MINION_ID" system.reboot --async
|
||||
result=$?
|
||||
|
||||
if [ $result -ne 0 ]; then
|
||||
|
||||
Reference in New Issue
Block a user