summaryrefslogtreecommitdiffstats
path: root/cobbler/modules
diff options
context:
space:
mode:
authorMichael DeHaan <mdehaan@redhat.com>2007-11-12 13:25:23 -0500
committerMichael DeHaan <mdehaan@redhat.com>2007-11-12 13:25:23 -0500
commit57f449cc30b59970b97d7ee4d74cc02a98e07e30 (patch)
tree24b59435eba407c06645eecfeed882c0b31c240b /cobbler/modules
parenta4dcebbff2db26dc22aadcc0f84328c19d52e48d (diff)
downloadthird_party-cobbler-57f449cc30b59970b97d7ee4d74cc02a98e07e30.tar.gz
third_party-cobbler-57f449cc30b59970b97d7ee4d74cc02a98e07e30.tar.xz
third_party-cobbler-57f449cc30b59970b97d7ee4d74cc02a98e07e30.zip
Abstract out the modules system to allow for other types of modules, and to also centralize configuration/loading/access some more.
Diffstat (limited to 'cobbler/modules')
-rw-r--r--cobbler/modules/serializer_shelve.py2
-rw-r--r--cobbler/modules/serializer_yaml.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/cobbler/modules/serializer_shelve.py b/cobbler/modules/serializer_shelve.py
index fa5b1d0..246a92a 100644
--- a/cobbler/modules/serializer_shelve.py
+++ b/cobbler/modules/serializer_shelve.py
@@ -67,7 +67,7 @@ def register():
"""
The mandatory cobbler module registration hook.
"""
- return True
+ return "serializer"
def serialize(obj):
"""
diff --git a/cobbler/modules/serializer_yaml.py b/cobbler/modules/serializer_yaml.py
index 4c3dfbb..6425bd1 100644
--- a/cobbler/modules/serializer_yaml.py
+++ b/cobbler/modules/serializer_yaml.py
@@ -31,7 +31,7 @@ def register():
"""
The mandatory cobbler module registration hook.
"""
- return True
+ return "serializer"
def serialize(obj):
"""