mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Revert weird change
This commit is contained in:
parent
293f6b2d02
commit
35bc5fc46b
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:\\salt", "etc", "salt")
|
||||
else:
|
||||
config_path = pathlib.Path("/etc", "salt")
|
||||
return config_path
|
||||
|
@ -413,7 +413,7 @@ class SaltPkgInstall:
|
|||
if system_service is False:
|
||||
return None
|
||||
if platform.is_windows():
|
||||
return pathlib.Path("C:/salt")
|
||||
return pathlib.Path("C:\\salt")
|
||||
if platform.is_darwin():
|
||||
return pathlib.Path("/opt/salt")
|
||||
return pathlib.Path("/")
|
||||
|
|
Loading…
Add table
Reference in a new issue