mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2026-04-29 07:57:52 +02:00
update fw for receiver and add mine_functions for ip_addr
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
mine_functions:
|
||||
network.ip_addrs:
|
||||
- interface: {{ pillar.host.mainint }}
|
||||
@@ -76,14 +76,23 @@ salt_minion_service_unit_file:
|
||||
- module: systemd_reload
|
||||
- listen_in:
|
||||
- service: salt_minion_service
|
||||
|
||||
{% endif %}
|
||||
|
||||
mine_functions:
|
||||
file.managed:
|
||||
- name: /etc/salt/minion.d/mine_functions.conf
|
||||
- source: salt://salt/etc/mine_functions.conf
|
||||
- template: jinja
|
||||
|
||||
# this has to be outside the if statement above since there are <requisite>_in calls to this state
|
||||
salt_minion_service:
|
||||
service.running:
|
||||
- name: salt-minion
|
||||
- enable: True
|
||||
- onlyif: test "{{INSTALLEDSALTVERSION}}" == "{{SALTVERSION}}"
|
||||
- watch:
|
||||
- file: mine_functions
|
||||
|
||||
patch_pkg:
|
||||
pkg.installed:
|
||||
|
||||
Reference in New Issue
Block a user