diff --git a/lib/display.sh b/lib/display.sh index 370e055..3039d90 100644 --- a/lib/display.sh +++ b/lib/display.sh @@ -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 } diff --git a/lib/secret.sh b/lib/secret.sh index f5858d8..8166ecf 100644 --- a/lib/secret.sh +++ b/lib/secret.sh @@ -105,7 +105,6 @@ fetch_secret() scheme="${ref%%:*}" identifier="${ref#*:}" fi - prnt I "Fetching secret from $scheme, identified with \"$identifier\"..." func="get_${scheme}_secret" diff --git a/modules/conf_ceph.sh b/modules/conf_ceph.sh index c43484d..635ed74 100644 --- a/modules/conf_ceph.sh +++ b/modules/conf_ceph.sh @@ -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