mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Fix package tests
This commit is contained in:
parent
608a8ffd1c
commit
487424408d
1 changed files with 2 additions and 2 deletions
|
@ -199,7 +199,7 @@ class SaltPkgInstall:
|
|||
Default location for salt configurations
|
||||
"""
|
||||
if platform.is_windows():
|
||||
config_path = pathlib.Path("C://salt", "etc", "salt")
|
||||
config_path = pathlib.Path("C:\\ProgramData", "Salt Project", "Salt")
|
||||
else:
|
||||
config_path = pathlib.Path("/etc", "salt")
|
||||
return config_path
|
||||
|
@ -406,7 +406,7 @@ class SaltPkgInstall:
|
|||
if system_service is False:
|
||||
return None
|
||||
if platform.is_windows():
|
||||
return pathlib.Path("C:/salt")
|
||||
return pathlib.Path("C:\\Program Files", "Salt Project", "Salt")
|
||||
if platform.is_darwin():
|
||||
return pathlib.Path("/opt/salt")
|
||||
return pathlib.Path("/")
|
||||
|
|
Loading…
Add table
Reference in a new issue