mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Further debug
This commit is contained in:
parent
24a44edf8c
commit
9138c3ccd2
1 changed files with 7 additions and 3 deletions
|
@ -483,9 +483,13 @@ class SaltPkgInstall:
|
|||
log.debug("Installing: %s", str(pkg))
|
||||
ret = self.proc.run("installer", "-pkg", str(pkg), "-target", "/")
|
||||
self._check_retcode(ret)
|
||||
## DGM # Stop the service installed by the installer
|
||||
## DGM self.proc.run("launchctl", "disable", f"system/{service_name}")
|
||||
## DGM self.proc.run("launchctl", "bootout", "system", str(plist_file))
|
||||
|
||||
## DGM TBD why stop service on upgrade ???
|
||||
if not upgrade:
|
||||
# Stop the service installed by the installer
|
||||
self.proc.run("launchctl", "disable", f"system/{service_name}")
|
||||
self.proc.run("launchctl", "bootout", "system", str(plist_file))
|
||||
|
||||
elif upgrade:
|
||||
env = os.environ.copy()
|
||||
extra_args = []
|
||||
|
|
Loading…
Add table
Reference in a new issue