mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2026-06-22 10:18:09 +02:00
Drop so_telegraf_trim cron.absent tombstone
feature/postgres never shipped the original cron.present, so this cleanup state is a no-op on every fresh install. The script itself stays on disk for emergency use.
This commit is contained in:
@@ -80,15 +80,6 @@ delete_so-postgres_so-status.disabled:
|
|||||||
- name: /opt/so/conf/so-status/so-status.conf
|
- name: /opt/so/conf/so-status/so-status.conf
|
||||||
- regex: ^so-postgres$
|
- regex: ^so-postgres$
|
||||||
|
|
||||||
# Retention is now handled by pg_partman (hourly maintenance via pg_cron
|
|
||||||
# scheduled from postgres/telegraf_users.sls). The so-telegraf-trim script
|
|
||||||
# stays on disk for manual/emergency use but is no longer scheduled.
|
|
||||||
so_telegraf_trim:
|
|
||||||
cron.absent:
|
|
||||||
- name: /usr/sbin/so-telegraf-trim >> /opt/so/log/postgres/telegraf-trim.log 2>&1
|
|
||||||
- identifier: so_telegraf_trim
|
|
||||||
- user: root
|
|
||||||
|
|
||||||
{% else %}
|
{% else %}
|
||||||
|
|
||||||
{{sls}}_state_not_allowed:
|
{{sls}}_state_not_allowed:
|
||||||
|
|||||||
Reference in New Issue
Block a user