Add message when adding consule directly on target.

remotes/origin/key_value-onchange
Darko Poljak 7 years ago
parent 50b1867f4d
commit 48a0fb5bd0
  1. 1
      cdist/conf/type/__consul/gencode-remote

@ -51,6 +51,7 @@ cat << eof
if [ "\$cksum_is" = "$cksum_should" ]; then if [ "\$cksum_is" = "$cksum_should" ]; then
chown root:root "$destination" chown root:root "$destination"
chmod 755 "$destination" chmod 755 "$destination"
echo "__consul/usr/local/bin/consul" >> "$__messages_out"
else else
rm -f "$destination" rm -f "$destination"
echo "Failed to verify checksum for $__object_name" >&2 echo "Failed to verify checksum for $__object_name" >&2

Loading…
Cancel
Save