mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-11 03:32:53 +01:00
changes to patch motd so nodes can be removed after they restarted - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/112
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
{% if grains.os == "CentOS" %}
|
||||
include:
|
||||
- patch.needs_restarting
|
||||
{% if grains.os == "CentOS" %}
|
||||
- yum.packages
|
||||
{% endif %}
|
||||
|
||||
@@ -7,8 +8,4 @@ patch_os:
|
||||
pkg.uptodate:
|
||||
- name: patch_os
|
||||
- refresh: True
|
||||
|
||||
needs_restarting:
|
||||
module.run:
|
||||
- mine.send:
|
||||
- func: needs_restarting.check
|
||||
- onchanges_in: needs_restarting
|
||||
|
||||
Reference in New Issue
Block a user