mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2026-04-23 13:11:57 +02:00
only enable repo sync cron if OEL
This commit is contained in:
@@ -4,4 +4,8 @@
|
||||
Elastic License 2.0. #}
|
||||
|
||||
{% import_yaml 'manager/defaults.yaml' as MANAGERDEFAULTS %}
|
||||
{% set MANAGERMERGED = salt['pillar.get']('manager', MANAGERDEFAULTS.manager, merge=True) %}
|
||||
{% set MANAGERMERGED = salt['pillar.get']('manager', MANAGERDEFAULTS.manager, merge=True) %}
|
||||
|
||||
{% if grains.os != 'OEL' %}
|
||||
{% do MANAGERMERGED.reposync.update({'enabled': False}) %}
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user