diff options
author | Sol Jerome <sol.jerome@gmail.com> | 2013-03-19 09:43:07 -0500 |
---|---|---|
committer | Sol Jerome <sol.jerome@gmail.com> | 2013-03-19 09:43:07 -0500 |
commit | db29a7c5e8d8f4361d11df895ee5b34e2c21ae54 (patch) | |
tree | e2d3652ad79da8ae794bbdb647cb34ce6b2abd51 | |
parent | b4533e6cd9159f4d7e526978914c35e883ca3113 (diff) | |
download | bcfg2-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.py | 1 |
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'], |