summaryrefslogtreecommitdiffstats
path: root/src/lib/Server/Plugins
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2007-07-23 18:13:32 +0000
committerNarayan Desai <desai@mcs.anl.gov>2007-07-23 18:13:32 +0000
commit8823854ee3b106cb17e8a43626f70f51726f3c15 (patch)
treef9a758348218ec83270b03822c8915e455dded09 /src/lib/Server/Plugins
parent4d663541a23c9bc0348a32175e93cd35295a72b1 (diff)
downloadbcfg2-8823854ee3b106cb17e8a43626f70f51726f3c15.tar.gz
bcfg2-8823854ee3b106cb17e8a43626f70f51726f3c15.tar.bz2
bcfg2-8823854ee3b106cb17e8a43626f70f51726f3c15.zip
Add a realname attribute in altsrc bound entries and add TCheetah support
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3543 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib/Server/Plugins')
-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 748d4cd14..8ad0bcd42 100644
--- a/src/lib/Server/Plugins/TCheetah.py
+++ b/src/lib/Server/Plugins/TCheetah.py
@@ -47,6 +47,7 @@ class TemplateFile:
'''Build literal file information'''
self.template.metadata = metadata
self.template.path = entry.get('name')
+ self.template.realpath = entry.get('realname', entry.get('name'))
self.template.properties = self.properties.properties
try:
entry.text = str(self.template)