update all nodes motd with nodes that need restarted from patch updates - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/112

This commit is contained in:
m0duspwnens
2019-11-15 13:58:32 -05:00
parent b2b75acedb
commit ff4077a46f
6 changed files with 67 additions and 0 deletions

View File

@@ -1,4 +1,14 @@
{% if grains.os == "CentOS" %}
include:
- yum.packages
{% endif %}
patch_os:
pkg.uptodate:
- name: patch_os
- refresh: True
needs_restarting:
module.run:
- mine.send:
- func: needs_restarting.check