34c4e47c9b
- Allow NamedLoaderContexts to be returned from loader - Revert the change making reactor less blocking (bsc#1230322) - Use --cachedir for extension_modules in salt-call (bsc#1226141) - Prevent using SyncWrapper with no reason - Added: * avoid-explicit-reading-of-etc-salt-minion-bsc-122035.patch * allow-namedloadercontexts-to-be-returned-from-loader.patch * revert-the-change-making-reactor-less-blocking-bsc-1.patch * use-cachedir-for-extension_modules-in-salt-call-bsc-.patch * prevent-using-syncwrapper-with-no-reason.patch OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:saltstack/salt?expand=0&rev=259
28 lines
731 B
Diff
28 lines
731 B
Diff
From bbdb56932845dceb47332a4c967c13a9a78b88bc Mon Sep 17 00:00:00 2001
|
|
From: Victor Zhestkov <vzhestkov@suse.com>
|
|
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 <dwozniak@vmware.com>
|
|
---
|
|
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
|
|
|