mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2026-05-09 21:02:36 +02:00
22 lines
588 B
Plaintext
22 lines
588 B
Plaintext
{% from 'vars/globals.map.jinja' import GLOBALS %}
|
|
{% from 'global/map.jinja' import GLOBALMERGED %}
|
|
|
|
include:
|
|
- salt.minion
|
|
|
|
{% if GLOBALS.is_manager and GLOBALMERGED.push.enabled %}
|
|
salt_beacons_pushstate:
|
|
file.managed:
|
|
- name: /etc/salt/minion.d/beacons_pushstate.conf
|
|
- source: salt://manager/files/beacons_pushstate.conf.jinja
|
|
- template: jinja
|
|
- watch_in:
|
|
- service: salt_minion_service
|
|
{% else %}
|
|
salt_beacons_pushstate:
|
|
file.absent:
|
|
- name: /etc/salt/minion.d/beacons_pushstate.conf
|
|
- watch_in:
|
|
- service: salt_minion_service
|
|
{% endif %}
|