Merge branch 'evilham-postfix' into 'master'

[__postfix] Automagically support more OSs by not checking too much.

See merge request ungleich-public/cdist!866
This commit is contained in:
poljakowski 2020-04-26 09:52:08 +02:00
commit 71156258a4

View file

@ -19,16 +19,4 @@
# along with cdist. If not, see <http://www.gnu.org/licenses/>. # along with cdist. If not, see <http://www.gnu.org/licenses/>.
# #
__package postfix --state present
os=$(cat "$__global/explorer/os")
case "$os" in
alpine|ubuntu|debian|archlinux|suse|scientific|centos|devuan)
__package postfix --state present
;;
*)
echo "Your operating system ($os) is currently not supported by this type (${__type##*/})." >&2
echo "Please contribute an implementation for it if you can." >&2
exit 1
;;
esac