From 3cf1f738c0a474e21ce56604ad874241584d59e9 Mon Sep 17 00:00:00 2001 From: "Chris St. Pierre" Date: Wed, 17 Oct 2012 15:17:03 -0400 Subject: assigned Cfg handlers explicit priorities to avoid over-zealous regex matches --- src/lib/Bcfg2/Server/Plugins/Cfg/CfgEncryptedGenerator.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/lib/Bcfg2/Server/Plugins/Cfg/CfgEncryptedGenerator.py') 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: -- cgit v1.2.3-1-g7c22