summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2006-09-28 00:53:37 +0000
committerNarayan Desai <desai@mcs.anl.gov>2006-09-28 00:53:37 +0000
commit4d10eb3683a20f79521edfd8d9b945bebed01d71 (patch)
treed934f7a8f086d16155c7dcccb47caed499615adf
parent03c932e5ee8c422fe61ed67a861f8b5f3edf4aac (diff)
downloadbcfg2-4d10eb3683a20f79521edfd8d9b945bebed01d71.tar.gz
bcfg2-4d10eb3683a20f79521edfd8d9b945bebed01d71.tar.bz2
bcfg2-4d10eb3683a20f79521edfd8d9b945bebed01d71.zip
Fix initialization to use a complete path for template names
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2337 ce84e21b-d406-0410-9b95-82705330c041
-rw-r--r--src/lib/Server/Plugins/TCheetah.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/Server/Plugins/TCheetah.py b/src/lib/Server/Plugins/TCheetah.py
index 4e95fce35..fe2640ddc 100644
--- a/src/lib/Server/Plugins/TCheetah.py
+++ b/src/lib/Server/Plugins/TCheetah.py
@@ -100,7 +100,8 @@ class TCheetah(Bcfg2.Server.Plugin.Plugin):
self.AddDirectoryMonitor(epath[len(self.data):])
else:
if not self.entries.has_key(identifier):
- self.entries[identifier] = TemplateFile(identifier, self.properties)
+ self.entries[identifier] = TemplateFile( \
+ self.data + '/' + identifier, self.properties)
self.Entries['ConfigFile'][identifier] = self.BuildEntry
self.entries[identifier].HandleEvent(event)
elif action == 'changed':