From c0dc26a5771a5c136724f5046fda979f2e256d31 Mon Sep 17 00:00:00 2001 From: Darko Poljak Date: Thu, 15 Feb 2018 22:03:28 +0100 Subject: [PATCH] Fix consul message. --- cdist/conf/type/__consul/gencode-remote | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cdist/conf/type/__consul/gencode-remote b/cdist/conf/type/__consul/gencode-remote index 67dbf408..f4378bd9 100755 --- a/cdist/conf/type/__consul/gencode-remote +++ b/cdist/conf/type/__consul/gencode-remote @@ -51,10 +51,11 @@ cat << eof if [ "\$cksum_is" = "$cksum_should" ]; then chown root:root "$destination" chmod 755 "$destination" - echo "__consul/usr/local/bin/consul" >> "$__messages_out" else rm -f "$destination" echo "Failed to verify checksum for $__object_name" >&2 exit 1 fi eof + +echo "__consul/usr/local/bin/consul" >> "$__messages_out"