diff --git a/pkg/tests/conftest.py b/pkg/tests/conftest.py index 0bcf2252227..5eba84bb4aa 100644 --- a/pkg/tests/conftest.py +++ b/pkg/tests/conftest.py @@ -363,6 +363,8 @@ def salt_master(salt_factories, install_salt, state_tree, pillar_tree): master_script = True # this check will need to be changed to install_salt.relenv # once the package version returns 3006 and not 3005 on master + if install_salt.relenv: + master_script = True elif not install_salt.upgrade: master_script = True @@ -375,6 +377,8 @@ def salt_master(salt_factories, install_salt, state_tree, pillar_tree): python_executable = install_salt.bin_dir / "Scripts" / "python.exe" if install_salt.classic: python_executable = install_salt.bin_dir / "python.exe" + if install_salt.relenv: + python_executable = install_salt.install_dir / "Scripts" / "python.exe" factory = salt_factories.salt_master_daemon( random_string("master-"), defaults=config_defaults,