puppet: Silence "needrestart" nags about kernel upgrades.

Ksplice keeps the kernel updated without restarts.
This commit is contained in:
Alex Vandiver 2024-05-28 15:24:17 -04:00 committed by Tim Abbott
parent 0884b96fc6
commit d2516607bb
1 changed files with 4 additions and 0 deletions

View File

@ -11,3 +11,7 @@ my @ignore = (
);
$nrconf{override_rc}{$_} = 0 for @ignore;
# ksplice keeps the kernel updated in a way that needrestart does not
# understand; silence these hints
$nrconf{kernelhints} = -1