Merge branch 'feature/type/__sshd_config/whitelist-openbmc' into 'master'

__sshd_config: Whitelist OpenBMC

See merge request ungleich-public/cdist!980
This commit is contained in:
poljakowski 2021-03-12 08:20:35 +01:00
commit c55397766e

View file

@ -39,7 +39,14 @@ in
(freebsd|netbsd|openbsd)
# whitelist
;;
(openbmc-phosphor)
# whitelist
# OpenBMC can be configured with dropbear and OpenSSH.
# If dropbear is used, the state explorer will already fail because it
# cannot find the sshd binary.
;;
(*)
: "${__type:?}" # make shellcheck happy
printf 'Your operating system (%s) is currently not supported by this type (%s)\n' \
"${os}" "${__type##*/}" >&2
printf 'Please contribute an implementation for it if you can.\n' >&2