summaryrefslogtreecommitdiffstats
path: root/src/lib/Bcfg2/Server/Plugins/TemplateHelper.py
diff options
context:
space:
mode:
authorChris St. Pierre <chris.a.st.pierre@gmail.com>2012-08-23 11:48:55 -0400
committerChris St. Pierre <chris.a.st.pierre@gmail.com>2012-08-23 11:48:55 -0400
commit4330049f383ee34e9b3fa117dd65103186742cd1 (patch)
treebb7aa8d3702e064178d53bd0cad9667d12c1a31a /src/lib/Bcfg2/Server/Plugins/TemplateHelper.py
parent60bec519eadea232ce1f8f52d8fba0e1385858fb (diff)
downloadbcfg2-4330049f383ee34e9b3fa117dd65103186742cd1.tar.gz
bcfg2-4330049f383ee34e9b3fa117dd65103186742cd1.tar.bz2
bcfg2-4330049f383ee34e9b3fa117dd65103186742cd1.zip
Templatehelper: fixed inclusion of group- and host-specific helpers
Diffstat (limited to 'src/lib/Bcfg2/Server/Plugins/TemplateHelper.py')
-rw-r--r--src/lib/Bcfg2/Server/Plugins/TemplateHelper.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Bcfg2/Server/Plugins/TemplateHelper.py b/src/lib/Bcfg2/Server/Plugins/TemplateHelper.py
index 224637e3d..60c4c8c57 100644
--- a/src/lib/Bcfg2/Server/Plugins/TemplateHelper.py
+++ b/src/lib/Bcfg2/Server/Plugins/TemplateHelper.py
@@ -83,7 +83,7 @@ class TemplateHelper(Bcfg2.Server.Plugin.Plugin,
def get_additional_data(self, metadata):
return dict([(h._module_name, h)
- for h in list(self.helpers.entries.values())])
+ for h in self.helpers.get_matching(metadata)])
class TemplateHelperLint(Bcfg2.Server.Lint.ServerlessPlugin):