diff options
-rw-r--r-- | cfengine/cf.services.dns | 48 |
1 files changed, 25 insertions, 23 deletions
diff --git a/cfengine/cf.services.dns b/cfengine/cf.services.dns index 760e30e..366475d 100644 --- a/cfengine/cf.services.dns +++ b/cfengine/cf.services.dns @@ -1,27 +1,29 @@ editfiles: { /etc/bind/named.conf +# +# TODO... # BeginGroupIfNoLineContaining "logging " - BeginGroupIfNoLineMatching '\<logging[[:space:]]*\{' - Append "logging {" - Append " category lame-servers { null; };" - Append " category cname { null; };" - Append " category response-checks { null; };" - Append " category statistics { null; };" - Append "}" - EndGroup - WarnIfNoLineMatching '\<logging[[:space:]]*\{' - LocateLineMatching '\<logging[[:space:]]*\{' - AbortAtLineMatching '\}' - -> AppendIfNoLineMatching '\<category[[:blank:]]*lame-servers\>' - Append " category lame-servers { null; };" - EndGroup - BeginGroupIfNoLineMatching '\<category[[:blank:]]*cname\>' - Append " category cname { null; };" - EndGroup - BeginGroupIfNoLineMatching '\<category[[:blank:]]*response-checks\>' - Append " category response-checks { null; };" - EndGroup - BeginGroupIfNoLineMatching '\<category[[:blank:]]*statistics\>' - Append " category statistics { null; };" - EndGroup +# BeginGroupIfNoLineMatching '\<logging[[:space:]]*\{' +# Append "logging {" +# Append " category lame-servers { null; };" +# Append " category cname { null; };" +# Append " category response-checks { null; };" +# Append " category statistics { null; };" +# Append "}" +# EndGroup +# WarnIfNoLineMatching '\<logging[[:space:]]*\{' +# LocateLineMatching '\<logging[[:space:]]*\{' +# AbortAtLineMatching '\}' +# -> AppendIfNoLineMatching '\<category[[:blank:]]*lame-servers\>' +# Append " category lame-servers { null; };" +# EndGroup +# BeginGroupIfNoLineMatching '\<category[[:blank:]]*cname\>' +# Append " category cname { null; };" +# EndGroup +# BeginGroupIfNoLineMatching '\<category[[:blank:]]*response-checks\>' +# Append " category response-checks { null; };" +# EndGroup +# BeginGroupIfNoLineMatching '\<category[[:blank:]]*statistics\>' +# Append " category statistics { null; };" +# EndGroup } |