From 48a0fb5bd0e7895490dc2d0c3b7614b7e012974c Mon Sep 17 00:00:00 2001 From: Darko Poljak Date: Thu, 15 Feb 2018 21:34:54 +0100 Subject: [PATCH] Add message when adding consule directly on target. --- cdist/conf/type/__consul/gencode-remote | 1 + 1 file changed, 1 insertion(+) diff --git a/cdist/conf/type/__consul/gencode-remote b/cdist/conf/type/__consul/gencode-remote index 5b3f5573..67dbf408 100755 --- a/cdist/conf/type/__consul/gencode-remote +++ b/cdist/conf/type/__consul/gencode-remote @@ -51,6 +51,7 @@ 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