summaryrefslogtreecommitdiffstats
path: root/src/lib/Bcfg2/Server/Lint/__init__.py
diff options
context:
space:
mode:
authorChris St. Pierre <chris.a.st.pierre@gmail.com>2012-04-20 11:40:47 -0400
committerChris St. Pierre <chris.a.st.pierre@gmail.com>2012-04-20 12:00:19 -0400
commitdcab5714d1d6147ef2a54cc44e01a3c17e9201ae (patch)
tree4966556d2b7d1db2960468a9a6faadf6a7f6cbdd /src/lib/Bcfg2/Server/Lint/__init__.py
parent27ffebf6e6e0268470214396a71d61eda8d9574b (diff)
downloadbcfg2-dcab5714d1d6147ef2a54cc44e01a3c17e9201ae.tar.gz
bcfg2-dcab5714d1d6147ef2a54cc44e01a3c17e9201ae.tar.bz2
bcfg2-dcab5714d1d6147ef2a54cc44e01a3c17e9201ae.zip
added TemplateHelper plugin for bcfg2-lint
Diffstat (limited to 'src/lib/Bcfg2/Server/Lint/__init__.py')
-rw-r--r--src/lib/Bcfg2/Server/Lint/__init__.py8
1 files changed, 7 insertions, 1 deletions
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