From dcab5714d1d6147ef2a54cc44e01a3c17e9201ae Mon Sep 17 00:00:00 2001 From: "Chris St. Pierre" Date: Fri, 20 Apr 2012 11:40:47 -0400 Subject: added TemplateHelper plugin for bcfg2-lint --- src/lib/Bcfg2/Server/Lint/__init__.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/lib/Bcfg2/Server/Lint/__init__.py') diff --git a/src/lib/Bcfg2/Server/Lint/__init__.py b/src/lib/Bcfg2/Server/Lint/__init__.py index 286dae807..581fa3566 100644 --- a/src/lib/Bcfg2/Server/Lint/__init__.py +++ b/src/lib/Bcfg2/Server/Lint/__init__.py @@ -120,7 +120,13 @@ class ErrorHandler (object): "genshi-syntax-error":"error", "pattern-fails-to-initialize":"error", "cat-file-used":"warning", - "diff-file-used":"warning"} + "diff-file-used":"warning", + "templatehelper-import-error":"error", + "templatehelper-no-export":"error", + "templatehelper-nonlist-export":"error", + "templatehelper-nonexistent-export":"error", + "templatehelper-reserved-export":"error", + "templatehelper-underscore-export":"warning"} def __init__(self, config=None): self.errors = 0 -- cgit v1.2.3-1-g7c22