-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make Salt Bundle more tolerant to long running jobs (bsc#1228690)
- Loading branch information
Showing
2 changed files
with
28 additions
and
0 deletions.
There are no files selected for viewing
26 changes: 26 additions & 0 deletions
26
salt/enhance-cleanup-mechanism-after-salt-bundle-upgrade-.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
From 994ebca519945c86dc30f1510dff36b3261446c0 Mon Sep 17 00:00:00 2001 | ||
From: =?UTF-8?q?Pablo=20Su=C3=A1rez=20Hern=C3=A1ndez?= | ||
<[email protected]> | ||
Date: Thu, 10 Oct 2024 11:51:02 +0100 | ||
Subject: [PATCH] Enhance cleanup mechanism after Salt Bundle upgrade | ||
(bsc#1228690) (#685) | ||
|
||
--- | ||
pkg/common/venv-salt-minion-postinstall.service | 2 +- | ||
1 file changed, 1 insertion(+), 1 deletion(-) | ||
|
||
diff --git a/pkg/common/venv-salt-minion-postinstall.service b/pkg/common/venv-salt-minion-postinstall.service | ||
index b122d7d6ea..c9db270435 100644 | ||
--- a/pkg/common/venv-salt-minion-postinstall.service | ||
+++ b/pkg/common/venv-salt-minion-postinstall.service | ||
@@ -2,6 +2,6 @@ | ||
Description=Clean old environment for venv-salt-minion | ||
|
||
[Service] | ||
-ExecStart=/bin/sh -c '/usr/lib/venv-salt-minion/bin/post_start_cleanup.sh || :' | ||
+ExecStart=/bin/sh -c 'WAIT_IF_SALT_JOBS=1 /usr/lib/venv-salt-minion/bin/post_start_cleanup.sh || :' | ||
Type=oneshot | ||
|
||
-- | ||
2.46.1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters