mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2026-04-09 22:32:35 +02:00
update mine via mine_interval now vs applying a state
This commit is contained in:
2
pillar/patch/needs_restarting.sls
Normal file
2
pillar/patch/needs_restarting.sls
Normal file
@@ -0,0 +1,2 @@
|
||||
mine_functions:
|
||||
needs_restarting.check: []
|
||||
@@ -1,4 +1,7 @@
|
||||
base:
|
||||
'*':
|
||||
- patch.needs_restarting
|
||||
|
||||
'G@role:so-sensor':
|
||||
- sensors.{{ grains.id }}
|
||||
- static
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
include:
|
||||
- patch.needs_restarting
|
||||
{% if grains.os == "CentOS" %}
|
||||
- yum.packages
|
||||
{% endif %}
|
||||
- patch.needs_restarting
|
||||
|
||||
patch_os:
|
||||
pkg.uptodate:
|
||||
|
||||
@@ -7,7 +7,6 @@
|
||||
base:
|
||||
'*':
|
||||
- patch.os.schedule
|
||||
- patch.needs_restarting
|
||||
- motd
|
||||
|
||||
'G@role:so-sensor':
|
||||
|
||||
Reference in New Issue
Block a user