From d53accd57f7815733e08dddfb8202ce2b466c0dd Mon Sep 17 00:00:00 2001 From: Matt Coddington Date: Fri, 20 Jan 2012 18:02:28 +0100 Subject: [PATCH] Subject: [cdist] [BUG] fix for conf/type/__group/gencode-remote I noticed $current_value was not getting set correctly in __group/gencode-remote and tracked it down to this trivial fix (applies to current master). I'm unfortunately not comfortable enough with git yet to submit it that way... hopefully this is an appropriate way to submit: Signed-off-by: Nico Schottelius --- conf/type/__group/gencode-remote | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/type/__group/gencode-remote b/conf/type/__group/gencode-remote index 20e08738..cf26a437 100755 --- a/conf/type/__group/gencode-remote +++ b/conf/type/__group/gencode-remote @@ -29,7 +29,7 @@ if grep -q "^${name}:" "$__object/explorer/group"; then for property in $(ls .); do new_value="$(cat "$property")" - case "$key" in + case "$property" in password) current_value="$(awk -F: '{ print $2 }' < "$__object/explorer/gshadow")" ;;