> documentation on the wiki it will NOT work. Half of the effort
in
> writing this was figuring out why my serializer wouldn't load...
I'd be interested in why.
Forgot to respond to this. Here's the patch, to show why:
diff --git a/cobbler/serializer.py b/cobbler/serializer.py
index 657e05f..73e8395 100644
--- a/cobbler/serializer.py
+++ b/cobbler/serializer.py
@@ -157,10 +157,7 @@ def __get_storage_module(collection_type):
Look up serializer in /etc/cobbler/modules.conf
"""
capi = cobbler_api.BootAPI()
- if not capi.use_couch:
- return capi.get_module_by_name("serializer_catalog")
- else:
- return capi.get_module_by_name("serializer_couch")
+ return
capi.get_module_from_file("serializers",collection_type,"serializer_catalog")
if __name__ == "__main__":
__grab_lock()
As you can see, it was either reading a boolean to load the couchDB
backend, or it defaulted to using the catalog serializer. My change
makes it actually read the [serializers] section of the config, which
it wasn't doing before.