'Load all collections from disk
@raise CX if there is an error in deserialization'

def deserialize(self):

    for collection in (self._settings, self._distros, self._repos, self._profiles, self._images, self._systems, self._mgmtclasses, self._packages, self._files):
        try:
            serializer.deserialize(collection)
        except Exception as e:
            raise CX(('serializer:    error    loading    collection    %s:    %s.    Check    /etc/cobbler/modules.conf' % (collection.collection_type(), e)))
