mirror of
https://github.com/valitydev/salt-common.git
synced 2024-11-06 02:15:20 +00:00
monitoring: fix glsa systemd compat (#191)
* monitoring: fix glsa systemd compat
This commit is contained in:
parent
e633dd46d8
commit
0f924f173c
@ -12,4 +12,10 @@ sys-process/systemd-cron:
|
||||
- {{ pkg.gen_atom('sys-process/systemd-cron') }}
|
||||
- require:
|
||||
- file: gentoo.portage.packages
|
||||
|
||||
cron.target:
|
||||
service.running:
|
||||
- enable: True
|
||||
- require:
|
||||
- pkg: sys-process/systemd-cron
|
||||
{% endif %}
|
||||
|
@ -14,12 +14,12 @@ net-analyzer/nagios-check_glsa2:
|
||||
|
||||
glsa-check-generate:
|
||||
file.managed:
|
||||
- source: salt://{{ tpldir }/files/glsa.cron
|
||||
- source: salt://{{ slspath }}/files/glsa.cron
|
||||
- name: /etc/cron.d/glsa-check-generate
|
||||
- require:
|
||||
- pkg: net-analyzer/nagios-check_glsa2
|
||||
|
||||
glsa-check-generate-old-absent:
|
||||
glsa-check-generate-old-absent:
|
||||
cron.absent:
|
||||
- identifier: glsa-check-generate
|
||||
- name: /usr/lib64/nagios/plugins/check_glsa2_cached.sh --generate
|
||||
|
@ -1,2 +1,2 @@
|
||||
# SALT_CRON_IDENTIFIER:glsa-check-generate
|
||||
8 * * * * root /usr/lib64/nagios/plugins/check_glsa2_cached.sh --generate
|
||||
8 * * * * root /usr/lib/nagios/plugins/check_glsa2_cached.sh --generate
|
||||
|
Loading…
Reference in New Issue
Block a user