summaryrefslogtreecommitdiffstats
path: root/src/lib/Server/Plugins/TCheetah.py
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2007-12-28 19:50:38 +0000
committerNarayan Desai <desai@mcs.anl.gov>2007-12-28 19:50:38 +0000
commitb2daeb82a626e1cceb09edd8329b8d05e43dc690 (patch)
tree30ed5e2015c822723a03e7f65bfec3fab45ec1a6 /src/lib/Server/Plugins/TCheetah.py
parent87f93e0a65c380b42705087b3e855ca005d99481 (diff)
downloadbcfg2-b2daeb82a626e1cceb09edd8329b8d05e43dc690.tar.gz
bcfg2-b2daeb82a626e1cceb09edd8329b8d05e43dc690.tar.bz2
bcfg2-b2daeb82a626e1cceb09edd8329b8d05e43dc690.zip
Add repo to metadata for TCheetah templates (Resolves #501)
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4123 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib/Server/Plugins/TCheetah.py')
-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 582d4213f..cab1377df 100644
--- a/src/lib/Server/Plugins/TCheetah.py
+++ b/src/lib/Server/Plugins/TCheetah.py
@@ -110,6 +110,7 @@ class TCheetah(Bcfg2.Server.Plugin.Plugin):
def BuildEntry(self, entry, metadata):
'''Dispatch fetch calls to the correct object'''
+ metadata.repo = self.data
self.entries[entry.get('name')].BuildFile(entry, metadata)
def HandleEvent(self, event):