__ssh_authorized_keys: remove legacy code

remotes/origin/4.11
Ander Punnar 6 years ago
parent ab3544d5e8
commit e3a900c1c9
  1. 12
      cdist/conf/type/__ssh_authorized_keys/manifest

@ -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…
Cancel
Save