From 1f93e7291e3da06c412a2a5d1005ed7b59e4b7ef Mon Sep 17 00:00:00 2001 From: Darko Poljak Date: Wed, 21 Feb 2018 10:00:25 +0100 Subject: [PATCH] Fix consul message and document messaging. --- cdist/conf/type/__consul/gencode-remote | 2 +- cdist/conf/type/__consul/man.rst | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/cdist/conf/type/__consul/gencode-remote b/cdist/conf/type/__consul/gencode-remote index f4378bd9..4426ea2b 100755 --- a/cdist/conf/type/__consul/gencode-remote +++ b/cdist/conf/type/__consul/gencode-remote @@ -58,4 +58,4 @@ cat << eof fi eof -echo "__consul/usr/local/bin/consul" >> "$__messages_out" +echo "/usr/local/bin/consul created" >> "$__messages_out" diff --git a/cdist/conf/type/__consul/man.rst b/cdist/conf/type/__consul/man.rst index 09e547f9..401f0c26 100644 --- a/cdist/conf/type/__consul/man.rst +++ b/cdist/conf/type/__consul/man.rst @@ -35,6 +35,14 @@ direct Download and deploy consul binary directly on the target machine. +MESSAGES +-------- +If consul binary is created using __staged_file then underlaying __file type messages are emitted. + +If consul binary is created by direct method then the following messages are emitted: +/usr/local/bin/consul created + consul binary was created + EXAMPLES --------