summaryrefslogtreecommitdiffstats
path: root/src/lib/Server/Core.py
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2005-11-09 20:58:08 +0000
committerNarayan Desai <desai@mcs.anl.gov>2005-11-09 20:58:08 +0000
commit1af7410293d452022ad94ed78a5fd0a9bebaec24 (patch)
tree77f4513170f1f893fc54b8e7ac3e572bb0398835 /src/lib/Server/Core.py
parent01e4215dda0007931efedcf8697c401a3092f45b (diff)
downloadbcfg2-1af7410293d452022ad94ed78a5fd0a9bebaec24.tar.gz
bcfg2-1af7410293d452022ad94ed78a5fd0a9bebaec24.tar.bz2
bcfg2-1af7410293d452022ad94ed78a5fd0a9bebaec24.zip
kill metadata path
(Logical change 1.352) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1465 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib/Server/Core.py')
-rw-r--r--src/lib/Server/Core.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/Server/Core.py b/src/lib/Server/Core.py
index baca4bebb..1b1504dc1 100644
--- a/src/lib/Server/Core.py
+++ b/src/lib/Server/Core.py
@@ -145,13 +145,13 @@ class Core(object):
self.setup = setup
self.plugins = {}
- mpath = cfile.get('server','metadata')
+ mpath = cfile.get('server','repository')
try:
- self.metadata = MetadataStore("%s/metadata.xml" % mpath, self.fam)
+ self.metadata = MetadataStore("%s/etc/metadata.xml" % mpath, self.fam)
except OSError:
raise CoreInitError, "metadata path incorrect"
- self.stats = Statistics("%s/statistics.xml" % (mpath))
+ self.stats = Statistics("%s/etc/statistics.xml" % (mpath))
structures = cfile.get('server', 'structures').split(',')
generators = cfile.get('server', 'generators').split(',')