forked from ungleich-public/cdist
__ssh_authorized_keys: remove legacy code
This commit is contained in:
parent
ab3544d5e8
commit
e3a900c1c9
1 changed files with 0 additions and 12 deletions
|
@ -45,18 +45,6 @@ if [ ! -f "$__object/parameter/noparent" ] || [ ! -f "$__object/parameter/nofile
|
|||
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() {
|
||||
echo "$1" | cksum | cut -d' ' -f 1
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue