summaryrefslogtreecommitdiff
path: root/cfengine
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2002-11-26 01:26:49 +0000
committerJonas Smedegaard <dr@jones.dk>2002-11-26 01:26:49 +0000
commit33462cd42b7c20b78fa1841d2d830949e723e82a (patch)
tree6bc911404b7f8ba787a0e655f9a0a528a319a799 /cfengine
parent52cb6af4aa53f50e20f68f63bb5cdd7cfeb19cca (diff)
Correct errors and comment around (bind doesn't support appended comments, but we still want to be able to back out the changes later).
Diffstat (limited to 'cfengine')
-rw-r--r--cfengine/cf.services.dns9
1 files changed, 6 insertions, 3 deletions
diff --git a/cfengine/cf.services.dns b/cfengine/cf.services.dns
index c405a9e..984bb50 100644
--- a/cfengine/cf.services.dns
+++ b/cfengine/cf.services.dns
@@ -2,7 +2,7 @@ control:
AddInstallable = ( bind_reload )
editfiles:
- { /etc/bind/named.conf
+# { /etc/bind/named.conf
#
# TODO...
# BeginGroupIfNoLineContaining "logging "
@@ -30,11 +30,14 @@ editfiles:
# Append " category statistics { null; };"
# EndGroup
#
- }
+# }
+
{ /etc/bind/named.conf.local
BeginGroupIfFileExists "/etc/local-COMMON/bind/named_$(fqhost).conf"
BeginGroupIfNoLineMatching '^include[[:blank:]]"/etc/local-COMMON/bind/named_$(fqhost).conf";.*'
- Append 'include "/etc/local-COMMON/bind/named_$(fqhost).conf # EDITED BY CFENGINE $(date)";'
+ 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