mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-08 18:22:47 +01:00
Saltify it up
This commit is contained in:
@@ -7,11 +7,6 @@
|
||||
NOROOT=1
|
||||
. /usr/sbin/so-common
|
||||
|
||||
if [ ! -f /root/repodownload.conf ]; then
|
||||
echo "This script should only run on the manager."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
set_version
|
||||
set_os
|
||||
salt_minion_count
|
||||
@@ -34,6 +34,14 @@ repo_dir:
|
||||
- user
|
||||
- group
|
||||
|
||||
repo_sync_script:
|
||||
file.managed:
|
||||
- name: /usr/sbin/so-repo-sync
|
||||
- source: salt://manager/files/so-repo-sync
|
||||
- user: root
|
||||
- group: root
|
||||
- mode: 755
|
||||
|
||||
reposync_cron:
|
||||
{% if MANAGERMERGED.reposync.enabled %}
|
||||
cron.present:
|
||||
|
||||
Reference in New Issue
Block a user