-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid explicit reading of /etc/salt/minion (bsc#1220357)
- Loading branch information
Showing
2 changed files
with
29 additions
and
0 deletions.
There are no files selected for viewing
27 changes: 27 additions & 0 deletions
27
salt/avoid-explicit-reading-of-etc-salt-minion-bsc-122035.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,27 @@ | ||
From bbdb56932845dceb47332a4c967c13a9a78b88bc Mon Sep 17 00:00:00 2001 | ||
From: Victor Zhestkov <[email protected]> | ||
Date: Wed, 25 Sep 2024 14:08:20 +0300 | ||
Subject: [PATCH] Avoid explicit reading of /etc/salt/minion | ||
(bsc#1220357) | ||
|
||
Co-authored-by: Daniel A. Wozniak <[email protected]> | ||
--- | ||
salt/utils/azurearm.py | 2 -- | ||
1 file changed, 2 deletions(-) | ||
|
||
diff --git a/salt/utils/azurearm.py b/salt/utils/azurearm.py | ||
index 276cbb66b3..9ae128273c 100644 | ||
--- a/salt/utils/azurearm.py | ||
+++ b/salt/utils/azurearm.py | ||
@@ -47,8 +47,6 @@ try: | ||
except ImportError: | ||
HAS_AZURE = False | ||
|
||
-__opts__ = salt.config.minion_config("/etc/salt/minion") | ||
-__salt__ = salt.loader.minion_mods(__opts__) | ||
|
||
log = logging.getLogger(__name__) | ||
|
||
-- | ||
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