fix(system_baseline): do not report a pending package upgrade as drift in check mode
The main flow skips the apt upgrade in check mode; autoremove and autoclean are a task of their own and stay checked. The update entry point is unchanged and still previews the upgrade. Assisted-by: Claude Code
This commit is contained in:
1 parent
3f2d184922
commit
55bd5d5231
5 files changed
+31
-4
No files matched your search
@@ -0,0 +1,8 @@
|
||||
---
|
||||
bugfixes:
|
||||
- >-
|
||||
system_baseline - Do not run the apt upgrade in check mode in the main flow. A package that is only waiting for the next patch run, or a
|
||||
package cache older than an hour, is not drift, but the package module reports both as changed, so a scheduled dry run flagged every
|
||||
host. Autoremove and autoclean are now a task of their own and stay checked; as part of the upgrade call the module did not reach
|
||||
autoclean, so ``apt-get autoclean`` now runs (and may report changed once on a host with stale archives), in the main flow and in the
|
||||
``update`` entry point. The ``update`` entry point still previews the upgrade in check mode.
|
||||
Reference in new issue
Block a user