logrotate: rotate /opt/so/log/salt/so-grid-highstate

Add a logrotate entry for the grid-highstate driver's log, matching the existing
/opt/so/log/salt/{minion,master,so-salt-minion-check} entries (daily, rotate 14,
copytruncate, compress). Registered in both logrotate/defaults.yaml and the SOC
config schema logrotate/soc_logrotate.yaml.
This commit is contained in:
Josh Patterson
2026-08-10 08:30:40 -04:00
parent 2d0ea48c39
commit ee1d2167e8
2 changed files with 17 additions and 0 deletions
+10
View File
@@ -220,6 +220,16 @@ logrotate:
- extension .log
- dateext
- dateyesterday
/opt/so/log/salt/so-grid-highstate:
- daily
- rotate 14
- missingok
- copytruncate
- compress
- create
- extension .log
- dateext
- dateyesterday
/nsm/idh/*_x_log:
- daily
- rotate 14
+7
View File
@@ -140,6 +140,13 @@ logrotate:
multiline: True
global: True
forcedType: "[]string"
"/opt/so/log/salt/so-grid-highstate":
description: List of logrotate options for this file.
title: /opt/so/log/salt/so-grid-highstate
advanced: True
multiline: True
global: True
forcedType: "[]string"
"/nsm/idh/*_x_log":
description: List of logrotate options for this file.
title: /nsm/idh/*.log