mirror of
https://github.com/saltstack/salt.git
synced 2025-04-15 17:20:19 +00:00
Set open_mode
to True
for the package tests
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
This commit is contained in:
parent
e19cf37a61
commit
6450dde07c
1 changed files with 2 additions and 1 deletions
|
@ -340,6 +340,7 @@ def salt_master(salt_factories, install_salt, state_tree, pillar_tree):
|
|||
"netapi_enable_clients": ["local"],
|
||||
"external_auth": {"auto": {"saltdev": [".*"]}},
|
||||
"fips_mode": FIPS_TESTRUN,
|
||||
"open_mode": True,
|
||||
}
|
||||
test_user = False
|
||||
master_config = install_salt.config_path / "master"
|
||||
|
@ -400,7 +401,6 @@ def salt_master(salt_factories, install_salt, state_tree, pillar_tree):
|
|||
scripts_dir = salt_factories.root_dir / "Scripts"
|
||||
scripts_dir.mkdir(exist_ok=True)
|
||||
salt_factories.scripts_dir = scripts_dir
|
||||
config_overrides["open_mode"] = True
|
||||
python_executable = install_salt.bin_dir / "Scripts" / "python.exe"
|
||||
if install_salt.classic:
|
||||
python_executable = install_salt.bin_dir / "python.exe"
|
||||
|
@ -474,6 +474,7 @@ def salt_minion(salt_factories, salt_master, install_salt):
|
|||
"file_roots": salt_master.config["file_roots"].copy(),
|
||||
"pillar_roots": salt_master.config["pillar_roots"].copy(),
|
||||
"fips_mode": FIPS_TESTRUN,
|
||||
"open_mode": True,
|
||||
}
|
||||
if platform.is_windows():
|
||||
config_overrides[
|
||||
|
|
Loading…
Add table
Reference in a new issue