mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
We need to set_path
for macOS, see #56627 for more info
This commit is contained in:
parent
be73058bb9
commit
002be06465
1 changed files with 2 additions and 0 deletions
|
@ -1135,6 +1135,8 @@ def sshd_server(salt_factories, sshd_config_dir, salt_master):
|
|||
factory.listen_port, RUNTIME_VARS.RUNNING_TESTS_USER
|
||||
)
|
||||
)
|
||||
if salt.utils.platform.is_darwin():
|
||||
roster_contents += " set_path: $PATH:/usr/local/bin/\n"
|
||||
log.debug(
|
||||
"Writing to configuration file %s. Configuration:\n%s",
|
||||
roster_path,
|
||||
|
|
Loading…
Add table
Reference in a new issue