__package_pkg_openbsd: fix use of --name (#568)

Fixes the improper use of the file holding the value of the 'name'
option.
remotes/origin/prometheus-exporter-fixes
uqam-fob 7 years ago committed by Darko Poljak
parent fb3cd98b54
commit 0dd5411216
  1. 2
      cdist/conf/type/__package_pkg_openbsd/gencode-remote

@ -41,7 +41,7 @@ fi
pkgopts="-x"
if [ -f "$__object/parameter/name" ]; then
name="$__object/parameter/name"
name=$(cat "$__object/parameter/name")
else
name="$__object_id"
fi

Loading…
Cancel
Save