forked from ungleich-public/cdist
add messaging
This commit is contained in:
parent
409d736339
commit
a1bf381370
1 changed files with 2 additions and 0 deletions
|
@ -136,8 +136,10 @@ elif [ "$state" = "absent" ]; then
|
||||||
#user exists, but state != present, so delete it
|
#user exists, but state != present, so delete it
|
||||||
if [ -f "$__object/parameter/remove-home" ]; then
|
if [ -f "$__object/parameter/remove-home" ]; then
|
||||||
echo userdel -r "${name}"
|
echo userdel -r "${name}"
|
||||||
|
echo "userdel -r" >> "$__messages_out"
|
||||||
else
|
else
|
||||||
echo userdel "${name}"
|
echo userdel "${name}"
|
||||||
|
echo "userdel" >> "$__messages_out"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue