From 1d3649ebb720d21ac06b23c947107abe20de2d1e Mon Sep 17 00:00:00 2001 From: Christian Heimes Date: Jun 10 2020 19:14:36 +0000 Subject: Fix named.conf named_conf_include_re Actually match one or more characters Signed-off-by: Christian Heimes Reviewed-By: Alexander Bokovoy --- diff --git a/ipaserver/install/bindinstance.py b/ipaserver/install/bindinstance.py index 4d17cf3..ac567aa 100644 --- a/ipaserver/install/bindinstance.py +++ b/ipaserver/install/bindinstance.py @@ -81,7 +81,7 @@ named_conf_arg_options_re_nonstr = re.compile( r'(?P\s*)(?P\S+)\s+(?P[^"]+)\s*;') named_conf_arg_options_template_nonstr = "%(indent)s%(name)s %(value)s;\n" # include directive -named_conf_include_re = re.compile(r'\s*include\s+"(?P)"\s*;') +named_conf_include_re = re.compile(r'\s*include\s+"(?P.*)"\s*;') named_conf_include_template = "include \"%(path)s\";\n" NAMED_SECTION_OPTIONS = "options"