Initial agentless SaltStack config for generic-worker on macOS

This commit is contained in:
Simon Sapin 2018-11-09 15:43:57 +01:00
parent b60006ae11
commit f4c11ad7b9
8 changed files with 65 additions and 0 deletions

14
etc/taskcluster/macos/salt-ssh Executable file
View file

@ -0,0 +1,14 @@
#!/bin/sh
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
set -o errexit
set -o nounset
set -o pipefail
cd "$(dirname $0)"
VENV_BIN="../../../python/_virtualenv/bin"
[ -x "${VENV_BIN}/salt-ssh" ] || "${VENV_BIN}/pip" install salt-ssh
"${VENV_BIN}/salt-ssh" "${@}"