revert redirection change, change approach

This commit is contained in:
2025-09-24 18:01:27 +02:00
parent da53bfd721
commit 624b8d4c6e
3 changed files with 4 additions and 3 deletions

View File

@@ -118,7 +118,7 @@ prnt()
shift
;;
esac
echo $echoopt -e "${IWhite}$(date $DATEFORMAT)${DEFAULTFG} ${heads} $@" >&2
echo $echoopt -e "${IWhite}$(date $DATEFORMAT)${DEFAULTFG} ${heads} $@"
unset heads echoopt
}

View File

@@ -105,7 +105,6 @@ fetch_secret()
scheme="${ref%%:*}"
identifier="${ref#*:}"
fi
prnt I "Fetching secret from $scheme, identified with \"$identifier\"..."
func="get_${scheme}_secret"

View File

@@ -21,7 +21,7 @@
# higher priority.
# ------------------------------------------------------------------------------
export VER_conf_ceph="1.0.1"
export VER_conf_ceph="1.0.2"
export DEP_conf_ceph=""
conf_ceph()
@@ -66,6 +66,8 @@ conf_ceph()
tag_file /etc/fstab
echo >> /etc/fstab
local srvlist=${CEPH_SRV_NAMES/ /,}
prnt I "Fetching secret $CEPH_SECRET..."
local secret
secret=$(fetch_secret "$CEPH_SECRET")
if ! grep -q "$srvlist" /etc/fstab; then