summaryrefslogtreecommitdiffstats
path: root/src/lib/Server
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2008-08-20 15:05:09 +0000
committerNarayan Desai <desai@mcs.anl.gov>2008-08-20 15:05:09 +0000
commitb8f061a90ac1c2bcc06bb2cf9f960b0664afd19f (patch)
treed033afc41cec8c2847101dd1fb612b5e0fb8ce9d /src/lib/Server
parent6f0f270cd6c3625174805833fff7bc417f9cf0f7 (diff)
downloadbcfg2-b8f061a90ac1c2bcc06bb2cf9f960b0664afd19f.tar.gz
bcfg2-b8f061a90ac1c2bcc06bb2cf9f960b0664afd19f.tar.bz2
bcfg2-b8f061a90ac1c2bcc06bb2cf9f960b0664afd19f.zip
Add source_path field for cheetah templates
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4883 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib/Server')
-rw-r--r--src/lib/Server/Plugins/TCheetah.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/Server/Plugins/TCheetah.py b/src/lib/Server/Plugins/TCheetah.py
index e2b4d370d..b36e05f89 100644
--- a/src/lib/Server/Plugins/TCheetah.py
+++ b/src/lib/Server/Plugins/TCheetah.py
@@ -33,6 +33,7 @@ class TemplateFile:
'''Build literal file information'''
self.template.metadata = metadata
self.template.path = entry.get('realname', entry.get('name'))
+ self.template.source_path = self.name
try:
if type(self.template) == unicode: