We need to set_path for macOS, see #56627 for more info

This commit is contained in:
Pedro Algarvio 2020-08-14 17:08:08 +01:00
parent be73058bb9
commit 002be06465
No known key found for this signature in database
GPG key ID: BB36BF6584A298FF

View file

@ -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,