diff options
author | Dan Fandrich <danf@mageia.org> | 2024-10-15 14:21:45 -0700 |
---|---|---|
committer | Dan Fandrich <danf@mageia.org> | 2024-10-15 14:24:41 -0700 |
commit | 0e517856b8db239fc2ae29ff4d5f007b5d1d0441 (patch) | |
tree | 828dc0c7c146e7aad71376eee9069f21ae2c3a15 /modules/bind/templates/named_base.conf | |
parent | a8116343fd31737660b56357f4179f7cf2584255 (diff) | |
download | puppet-0e517856b8db239fc2ae29ff4d5f007b5d1d0441.tar puppet-0e517856b8db239fc2ae29ff4d5f007b5d1d0441.tar.gz puppet-0e517856b8db239fc2ae29ff4d5f007b5d1d0441.tar.bz2 puppet-0e517856b8db239fc2ae29ff4d5f007b5d1d0441.tar.xz puppet-0e517856b8db239fc2ae29ff4d5f007b5d1d0441.zip |
Remove conditionals for releases older than Mageia 6
This eliminates a bunch of conditionals, simplifying the configuration.
We no longer have any servers running on a release older than this.
Diffstat (limited to 'modules/bind/templates/named_base.conf')
-rw-r--r-- | modules/bind/templates/named_base.conf | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/modules/bind/templates/named_base.conf b/modules/bind/templates/named_base.conf index 941cf196..5adba9f3 100644 --- a/modules/bind/templates/named_base.conf +++ b/modules/bind/templates/named_base.conf @@ -32,9 +32,6 @@ options { version ""; directory "/var/named"; dump-file "/var/tmp/named_dump.db"; -<% if scope.function_versioncmp([lsbdistrelease, '3']) < 0 -%> - pid-file "/var/run/named.pid"; -<% end -%> statistics-file "/var/tmp/named.stats"; zone-statistics yes; // datasize 256M; @@ -103,67 +100,31 @@ zone "." IN { zone "localdomain" IN { type master; -<% if scope.function_versioncmp([lsbdistrelease, '3']) >= 0 -%> file "named.localhost"; -<% else -%> - file "master/localdomain.zone"; -<% end -%> allow-update { none; }; }; zone "localhost" IN { type master; -<% if scope.function_versioncmp([lsbdistrelease, '3']) >= 0 -%> file "named.localhost"; -<% else -%> - file "master/localhost.zone"; -<% end -%> allow-update { none; }; }; -<% if scope.function_versioncmp([lsbdistrelease, '3']) >= 0 -%> zone "1.0.0.127.in-addr.arpa" IN { -<% else -%> -zone "0.0.127.in-addr.arpa" IN { -<% end -%> type master; -<% if scope.function_versioncmp([lsbdistrelease, '3']) >= 0 -%> file "named.loopback"; -<% else -%> - file "reverse/named.local"; -<% end -%> allow-update { none; }; }; -<% if scope.function_versioncmp([lsbdistrelease, '3']) >= 0 -%> zone "1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa" IN { -<% else -%> -zone "0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa" IN { -<% end -%> type master; -<% if scope.function_versioncmp([lsbdistrelease, '3']) >= 0 -%> file "named.loopback"; -<% else -%> - file "reverse/named.ip6.local"; -<% end -%> allow-update { none; }; }; -<% if scope.function_versioncmp([lsbdistrelease, '3']) < 0 -%> -zone "255.in-addr.arpa" IN { - type master; - file "reverse/named.broadcast"; - allow-update { none; }; -}; - -<% end -%> zone "0.in-addr.arpa" IN { type master; -<% if scope.function_versioncmp([lsbdistrelease, '3']) >= 0 -%> file "named.empty"; -<% else -%> - file "reverse/named.zero"; -<% end -%> allow-update { none; }; }; |