From f9ebb4333c85e41439635cb00a40c3e07d8a3683 Mon Sep 17 00:00:00 2001 From: Dennis Camera Date: Tue, 19 Jan 2021 17:21:50 +0100 Subject: [PATCH] [type/__postgres_conf] Add NetBSD PostgreSQL UNIX user --- cdist/conf/type/__postgres_conf/gencode-remote | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/cdist/conf/type/__postgres_conf/gencode-remote b/cdist/conf/type/__postgres_conf/gencode-remote index 9b8227ee..8f8a2bfe 100755 --- a/cdist/conf/type/__postgres_conf/gencode-remote +++ b/cdist/conf/type/__postgres_conf/gencode-remote @@ -51,15 +51,14 @@ quote() { case ${os} in + (netbsd) + postgres_user='pgsql' + ;; (openbsd) postgres_user='_postgresql' ;; - (devuan) - postgres_user='postgres' - ;; (*) - echo "Unsupported OS: ${os}" >&2 - exit 1 + postgres_user='postgres' ;; esac