forked from ungleich-public/cdist
[type/__postgres_conf] Accept empty values
This commit is contained in:
parent
12c2995494
commit
bef1433ba3
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ psql_cmd() {
|
||||||
case ${state_should}
|
case ${state_should}
|
||||||
in
|
in
|
||||||
(present)
|
(present)
|
||||||
test -s "${__object:?}/parameter/value" || {
|
test -n "${__object:?}/parameter/value" || {
|
||||||
echo 'Missing required parameter --value' >&2
|
echo 'Missing required parameter --value' >&2
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue