remove the salt-minion check for schedules

This commit is contained in:
m0duspwnens
2021-06-21 08:56:24 -04:00
parent e7afbab6a1
commit ba5b5db2c4
3 changed files with 0 additions and 6 deletions

View File

@@ -1,5 +1,4 @@
{% if salt['pillar.get']('patch:os:schedule_name') %}
{% if salt['service.status']('salt-minion', True) %}
{% set patch_os_pillar = salt['pillar.get']('patch:os') %}
{% set schedule_name = patch_os_pillar.schedule_name %}
{% set splay = patch_os_pillar.get('splay', 300) %}
@@ -63,7 +62,6 @@ remove_patch_os_schedule:
{% endif %}
{% endif %}
{% else %}
no_patch_os_schedule_name_set:

View File

@@ -1,7 +1,6 @@
include:
- salt.minion-state-apply-test
{% if salt['service.status']('salt-minion', True) %}
state-apply-test:
schedule.present:
- name: salt-minion-state-apply-test
@@ -18,4 +17,3 @@ state-apply-test:
- identifier: so-salt-minion-check
- user: root
- minute: '*/5'
{% endif %}

View File

@@ -1,7 +1,5 @@
{% if salt['service.status']('salt-minion', True) %}
schedule:
schedule.present:
- function: state.highstate
- minutes: 15
- maxrunning: 1
{% endif %}