__ssh_authorized_keys: remove legacy code

This commit is contained in:
ander 2019-04-20 12:14:38 +03:00
parent ab3544d5e8
commit e3a900c1c9

View file

@ -45,18 +45,6 @@ if [ ! -f "$__object/parameter/noparent" ] || [ ! -f "$__object/parameter/nofile
fi fi
fi fi
# Remove legacy blocks created by old versions of this type
# FIXME: remove me in 3.2+
__block "$__object_name" \
--file "$file" \
--prefix "#cdist:$__object_name" \
--suffix "#/cdist:$__object_name" \
--state 'absent' \
--text - << DONE
remove legacy block
DONE
export require="__block/$__object_name"
_cksum() { _cksum() {
echo "$1" | cksum | cut -d' ' -f 1 echo "$1" | cksum | cut -d' ' -f 1
} }