disable zeekpacketlosscron and telegraf checks if zeek is diabled via pillar

This commit is contained in:
m0duspwnens
2021-10-28 07:46:02 -04:00
parent b3e5319806
commit 18ce9c7819
3 changed files with 17 additions and 12 deletions

View File

@@ -146,7 +146,7 @@ plcronscript:
- mode: 755
zeekpacketlosscron:
cron.present:
cron.{{ZEEKOPTIONS.pl_cron_state}}:
- name: /usr/local/bin/packetloss.sh
- user: root
- minute: '*/10'