summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSol Jerome <sol.jerome@gmail.com>2013-03-19 09:43:07 -0500
committerSol Jerome <sol.jerome@gmail.com>2013-03-19 09:43:07 -0500
commitdb29a7c5e8d8f4361d11df895ee5b34e2c21ae54 (patch)
treee2d3652ad79da8ae794bbdb647cb34ce6b2abd51
parentb4533e6cd9159f4d7e526978914c35e883ca3113 (diff)
downloadbcfg2-db29a7c5e8d8f4361d11df895ee5b34e2c21ae54.tar.gz
bcfg2-db29a7c5e8d8f4361d11df895ee5b34e2c21ae54.tar.bz2
bcfg2-db29a7c5e8d8f4361d11df895ee5b34e2c21ae54.zip
Admin/Init: Fix traceback due to missing import
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
-rw-r--r--src/lib/Bcfg2/Server/Admin/Init.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/Bcfg2/Server/Admin/Init.py b/src/lib/Bcfg2/Server/Admin/Init.py
index 3e642ee49..613a76649 100644
--- a/src/lib/Bcfg2/Server/Admin/Init.py
+++ b/src/lib/Bcfg2/Server/Admin/Init.py
@@ -299,6 +299,7 @@ class Init(Bcfg2.Server.Admin.Mode):
"""Initialize each plugin-specific portion of the repository."""
for plugin in self.plugins:
if plugin == 'Metadata':
+ import Bcfg2.Server.Plugins.Metadata
Bcfg2.Server.Plugins.Metadata.Metadata.init_repo(
self.data['repopath'],
groups_xml=GROUPS % self.data['os_sel'],