summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2006-11-22 22:09:01 +0000
committerNarayan Desai <desai@mcs.anl.gov>2006-11-22 22:09:01 +0000
commit81bd425bc158fa0bfa5b39640f7e088deaf56587 (patch)
tree7d490f7c1bb52796e51dc1797e6a43b88c2e3301 /src
parent9b987aee5c51c1a5132c33ffb0f87f0077d9577f (diff)
downloadbcfg2-81bd425bc158fa0bfa5b39640f7e088deaf56587.tar.gz
bcfg2-81bd425bc158fa0bfa5b39640f7e088deaf56587.tar.bz2
bcfg2-81bd425bc158fa0bfa5b39640f7e088deaf56587.zip
Fix imports due to metadata change
* Probe data inclusion in client metadata is now tested (Resolves Ticket #243) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2527 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src')
-rwxr-xr-xsrc/sbin/bcfg2-info5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/sbin/bcfg2-info b/src/sbin/bcfg2-info
index 9b7e87473..be78075bb 100755
--- a/src/sbin/bcfg2-info
+++ b/src/sbin/bcfg2-info
@@ -2,7 +2,8 @@
'''This tool loads the Bcfg2 core into an interactive debugger'''
__revision__ = '$Revision$'
-import logging, lxml.etree, sys, time, Bcfg2.Logging, Bcfg2.Server.Core, Bcfg2.Server.Metadata, Bcfg2.Server.Plugin
+import logging, lxml.etree, sys, time, Bcfg2.Logging, Bcfg2.Server.Core
+import Bcfg2.Server.Plugins.Metadata, Bcfg2.Server.Plugin
def printTabular(rows):
'''print data in tabular format'''
@@ -30,7 +31,7 @@ def doShowentries(cmd, core):
return
try:
meta = core.metadata.get_metadata(cmd[1])
- except Bcfg2.Server.Metadata.MetadataConsistencyError:
+ except Bcfg2.Server.Plugins.Metadata.MetadataConsistencyError:
print "Unable to find metadata for host %s" % cmd[1]
return
structures = core.GetStructures(meta)