diff options
author | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2012-10-17 15:17:03 -0400 |
---|---|---|
committer | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2012-10-17 15:17:08 -0400 |
commit | 3cf1f738c0a474e21ce56604ad874241584d59e9 (patch) | |
tree | 50aafe6501d1c48ef8bf91140808adef8b912da0 /src/lib/Bcfg2/Server/Plugins/Cfg/CfgGenshiGenerator.py | |
parent | 63ca36cc3569bc5b31ffd9203d8f9d591eb9c21c (diff) | |
download | bcfg2-3cf1f738c0a474e21ce56604ad874241584d59e9.tar.gz bcfg2-3cf1f738c0a474e21ce56604ad874241584d59e9.tar.bz2 bcfg2-3cf1f738c0a474e21ce56604ad874241584d59e9.zip |
assigned Cfg handlers explicit priorities to avoid over-zealous regex matches
Diffstat (limited to 'src/lib/Bcfg2/Server/Plugins/Cfg/CfgGenshiGenerator.py')
-rw-r--r-- | src/lib/Bcfg2/Server/Plugins/Cfg/CfgGenshiGenerator.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/Bcfg2/Server/Plugins/Cfg/CfgGenshiGenerator.py b/src/lib/Bcfg2/Server/Plugins/Cfg/CfgGenshiGenerator.py index 5cec33489..ce77717da 100644 --- a/src/lib/Bcfg2/Server/Plugins/Cfg/CfgGenshiGenerator.py +++ b/src/lib/Bcfg2/Server/Plugins/Cfg/CfgGenshiGenerator.py @@ -53,6 +53,10 @@ class CfgGenshiGenerator(CfgGenerator): #: Genshi ``{% include ... %}`` directive without raising warnings. __ignore__ = ["genshi_include"] + #: Low priority to avoid matching host- or group-specific + #: .crypt.genshi files + __priority__ = 50 + #: Error-handling in Genshi is pretty obtuse. This regex is used #: to extract the first line of the code block that raised an #: exception in a Genshi template so we can provide a decent error |