From fba9ddb8f7168d6042505322271de4c7368e8fe5 Mon Sep 17 00:00:00 2001 From: John Van de Meulebrouck Brendgard Date: Tue, 12 Feb 2019 16:21:24 +0100 Subject: [PATCH] Changed example regex to make it a bit more apparent that the regex is to be used with re.match and not re.search --- global/overlay/etc/puppet/cosmos-rules.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/global/overlay/etc/puppet/cosmos-rules.yaml b/global/overlay/etc/puppet/cosmos-rules.yaml index d9dc495..cffd808 100644 --- a/global/overlay/etc/puppet/cosmos-rules.yaml +++ b/global/overlay/etc/puppet/cosmos-rules.yaml @@ -1,2 +1,3 @@ -'ns[0-9]?.mnt.se$': +# Note that the matching is done with re.match() +'^ns[0-9]?.mnt.se$': nameserver: