update mine via mine_interval now vs applying a state

This commit is contained in:
m0duspwnens
2019-11-19 15:34:27 -05:00
parent 09bf22c97a
commit 6153c25c37
4 changed files with 6 additions and 2 deletions

View File

@@ -0,0 +1,2 @@
mine_functions:
needs_restarting.check: []

View File

@@ -1,4 +1,7 @@
base:
'*':
- patch.needs_restarting
'G@role:so-sensor':
- sensors.{{ grains.id }}
- static

View File

@@ -1,8 +1,8 @@
include:
- patch.needs_restarting
{% if grains.os == "CentOS" %}
- yum.packages
{% endif %}
- patch.needs_restarting
patch_os:
pkg.uptodate:

View File

@@ -7,7 +7,6 @@
base:
'*':
- patch.os.schedule
- patch.needs_restarting
- motd
'G@role:so-sensor':