summaryrefslogtreecommitdiffstats
path: root/src/lib/Server/Plugins/TCheetah.py
diff options
context:
space:
mode:
authorSol Jerome <solj@ices.utexas.edu>2009-10-27 14:01:02 +0000
committerSol Jerome <solj@ices.utexas.edu>2009-10-27 14:01:02 +0000
commit702dd06ee5ea8d655bf904249e16f8a309bb9d74 (patch)
tree02591e476c5ff19d4ea188b458ce875e1648ad0d /src/lib/Server/Plugins/TCheetah.py
parent07632503acd1f1cb8354f43be2d73a64e5b3c2b6 (diff)
downloadbcfg2-702dd06ee5ea8d655bf904249e16f8a309bb9d74.tar.gz
bcfg2-702dd06ee5ea8d655bf904249e16f8a309bb9d74.tar.bz2
bcfg2-702dd06ee5ea8d655bf904249e16f8a309bb9d74.zip
TGenshi/TCheetah: Set type to 'file' for Path entries
Similar to r5475, we need to set the entry type of templated ConfigFiles so that they are mapped properly by the POSIXCompat plugin. Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5509 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib/Server/Plugins/TCheetah.py')
-rw-r--r--src/lib/Server/Plugins/TCheetah.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/Server/Plugins/TCheetah.py b/src/lib/Server/Plugins/TCheetah.py
index 9988b80e4..8a0369eee 100644
--- a/src/lib/Server/Plugins/TCheetah.py
+++ b/src/lib/Server/Plugins/TCheetah.py
@@ -48,6 +48,8 @@ class TemplateFile:
self.template.source_path = self.name
self.searchlist['source_path'] = self.name
+ if entry.tag == 'Path':
+ entry.set('type', 'file')
try:
if type(self.template) == unicode:
entry.text = self.template