summaryrefslogtreecommitdiffstats
path: root/src/lib/Server/Plugins/Snapshots.py
diff options
context:
space:
mode:
authorSol Jerome <solj@ices.utexas.edu>2010-02-08 19:24:37 +0000
committerSol Jerome <solj@ices.utexas.edu>2010-02-08 19:24:37 +0000
commit42cffe6228369a75f27c14eea22ad13baf2c0854 (patch)
treeed3a19a831c3b54b9d472671814d7bf77ab16eb5 /src/lib/Server/Plugins/Snapshots.py
parent8f265b38c7798d7933173d4dcbe9e6b3ad736c4c (diff)
downloadbcfg2-42cffe6228369a75f27c14eea22ad13baf2c0854.tar.gz
bcfg2-42cffe6228369a75f27c14eea22ad13baf2c0854.tar.bz2
bcfg2-42cffe6228369a75f27c14eea22ad13baf2c0854.zip
Snapshots: Use custom bcfg2.conf when specified (Fix for #839)
Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5716 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib/Server/Plugins/Snapshots.py')
-rw-r--r--src/lib/Server/Plugins/Snapshots.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Server/Plugins/Snapshots.py b/src/lib/Server/Plugins/Snapshots.py
index 5ee1e6d62..a4489ae95 100644
--- a/src/lib/Server/Plugins/Snapshots.py
+++ b/src/lib/Server/Plugins/Snapshots.py
@@ -65,7 +65,7 @@ class Snapshots(Bcfg2.Server.Plugin.Statistics,
def __init__(self, core, datastore):
Bcfg2.Server.Plugin.Plugin.__init__(self, core, datastore)
Bcfg2.Server.Plugin.Statistics.__init__(self)
- self.session = Bcfg2.Server.Snapshots.setup_session()
+ self.session = Bcfg2.Server.Snapshots.setup_session(core.cfile)
self.work_queue = Queue.Queue()
self.loader = threading.Thread(target=self.load_snapshot)
self.loader.start()