summaryrefslogtreecommitdiff
path: root/cfengine/cf.services.dns
diff options
context:
space:
mode:
Diffstat (limited to 'cfengine/cf.services.dns')
-rw-r--r--cfengine/cf.services.dns49
1 files changed, 0 insertions, 49 deletions
diff --git a/cfengine/cf.services.dns b/cfengine/cf.services.dns
deleted file mode 100644
index 0fe76de..0000000
--- a/cfengine/cf.services.dns
+++ /dev/null
@@ -1,49 +0,0 @@
-control:
- AddInstallable = ( bind_reload )
-
-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
-#
-# }
-
-# { /etc/bind/named.conf
-# BeginGroupIfFileExists "/etc/local-COMMON/bind/named_$(fqhost).conf"
-# BeginGroupIfNoLineMatching '^include[[:blank:]]"/etc/local-COMMON/bind/named_$(fqhost).conf";.*'
-# Append '// BEGIN EDITED BY CFENGINE $(date)'
-# Append 'include "/etc/local-COMMON/bind/named_$(fqhost).conf";'
-# Append '// END EDITED BY CFENGINE $(date)'
-# EndGroup
-# DefineClasses "bind_reload"
-# EndGroup
-# }
-
-shellcommands:
- bind_reload::
- "/etc/init.d/bind force-reload"
- "/etc/init.d/bind9 force-reload"