diff options
author | Narayan Desai <desai@mcs.anl.gov> | 2009-02-02 16:38:01 +0000 |
---|---|---|
committer | Narayan Desai <desai@mcs.anl.gov> | 2009-02-02 16:38:01 +0000 |
commit | 67ea84767b1c06c9efd0449f435cae103cb03fb0 (patch) | |
tree | b08b4ed7cb02086993034879122f978780fcb71d /src/lib/Server/Plugins/Properties.py | |
parent | 527fa203685fc8c93f6094f8cfe61ff4a39f1e2e (diff) | |
download | bcfg2-67ea84767b1c06c9efd0449f435cae103cb03fb0.tar.gz bcfg2-67ea84767b1c06c9efd0449f435cae103cb03fb0.tar.bz2 bcfg2-67ea84767b1c06c9efd0449f435cae103cb03fb0.zip |
Split out connector interface to allow for additional data generation based on complete group list
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5055 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib/Server/Plugins/Properties.py')
-rw-r--r-- | src/lib/Server/Plugins/Properties.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/lib/Server/Plugins/Properties.py b/src/lib/Server/Plugins/Properties.py index 2692c742e..87fcc16d3 100644 --- a/src/lib/Server/Plugins/Properties.py +++ b/src/lib/Server/Plugins/Properties.py @@ -20,11 +20,10 @@ class Properties(Bcfg2.Server.Plugin.Plugin, version = '$Revision: $' experimental = True - def __init__(self, core, datastore): Bcfg2.Server.Plugin.Plugin.__init__(self, core, datastore) Bcfg2.Server.Plugin.Connector.__init__(self) self.store = PropDirectoryBacked(self.data, core.fam) - def get_additional_metadata(self, _): - return ((), copy.deepcopy(self.store.entries)) + def get_additional_data(self, _): + return copy.deepcopy(self.store.entries) |