summaryrefslogtreecommitdiffstats
path: root/src/lib/Bcfg2/Server/Plugins/Cfg/CfgEncryptedGenerator.py
diff options
context:
space:
mode:
authorChris St. Pierre <chris.a.st.pierre@gmail.com>2012-10-17 15:17:03 -0400
committerChris St. Pierre <chris.a.st.pierre@gmail.com>2012-10-17 15:17:08 -0400
commit3cf1f738c0a474e21ce56604ad874241584d59e9 (patch)
tree50aafe6501d1c48ef8bf91140808adef8b912da0 /src/lib/Bcfg2/Server/Plugins/Cfg/CfgEncryptedGenerator.py
parent63ca36cc3569bc5b31ffd9203d8f9d591eb9c21c (diff)
downloadbcfg2-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/CfgEncryptedGenerator.py')
-rw-r--r--src/lib/Bcfg2/Server/Plugins/Cfg/CfgEncryptedGenerator.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/Bcfg2/Server/Plugins/Cfg/CfgEncryptedGenerator.py b/src/lib/Bcfg2/Server/Plugins/Cfg/CfgEncryptedGenerator.py
index dc4bab9f6..98a807602 100644
--- a/src/lib/Bcfg2/Server/Plugins/Cfg/CfgEncryptedGenerator.py
+++ b/src/lib/Bcfg2/Server/Plugins/Cfg/CfgEncryptedGenerator.py
@@ -21,6 +21,10 @@ class CfgEncryptedGenerator(CfgGenerator):
#: Handle .crypt files
__extensions__ = ["crypt"]
+ #: Low priority to avoid matching host- or group-specific
+ #: .genshi.crypt and .cheetah.crypt files
+ __priority__ = 50
+
def __init__(self, fname, spec, encoding):
CfgGenerator.__init__(self, fname, spec, encoding)
if not HAS_CRYPTO: