eid-ops/global/overlay/etc/puppet/cosmos_config_version

11 lines
194 B
Bash
Executable file

#!/bin/sh
set -e
set -a
COSMOS_CONF_DIR="/etc/cosmos"
. /etc/cosmos/cosmos.conf
COSMOS_VERBOSE="yes"
set +a
/etc/cosmos/update.d/25verify-git 2>/dev/null | grep ^"tag " | head -1 | cut -b 5-