[Mageia-sysadm] [492] add the reverse ipv6 zone
root at mageia.org
root at mageia.org
Wed Dec 1 21:06:55 CET 2010
Revision: 492
Author: misc
Date: 2010-12-01 21:06:54 +0100 (Wed, 01 Dec 2010)
Log Message:
-----------
add the reverse ipv6 zone
Modified Paths:
--------------
puppet/manifests/nodes.pp
puppet/modules/bind/manifests/init.pp
Modified: puppet/manifests/nodes.pp
===================================================================
--- puppet/manifests/nodes.pp 2010-12-01 13:06:38 UTC (rev 491)
+++ puppet/manifests/nodes.pp 2010-12-01 20:06:54 UTC (rev 492)
@@ -49,6 +49,7 @@
include postgresql
bind::zone_master { "mageia.org": }
bind::zone_master { "mageia.fr": }
+ bind::zone_reverse { "7.0.0.0.2.0.0.0.8.7.1.2.2.0.a.2.ip6.arpa": }
timezone::timezone { "Europe/Paris": }
include catdap
@@ -102,6 +103,7 @@
include bind::bind_master
bind::zone_master { "mageia.org": }
bind::zone_master { "mageia.fr": }
+ bind::zone_reverse { "7.0.0.0.2.0.0.0.8.7.1.2.2.0.a.2.ip6.arpa": }
timezone::timezone { "Europe/Paris": }
# Other services running on this server :
# - meetbot
Modified: puppet/modules/bind/manifests/init.pp
===================================================================
--- puppet/modules/bind/manifests/init.pp 2010-12-01 13:06:38 UTC (rev 491)
+++ puppet/modules/bind/manifests/init.pp 2010-12-01 20:06:54 UTC (rev 492)
@@ -42,6 +42,19 @@
}
}
+ define zone_reverse {
+ file { "/var/lib/named/var/named/reverse/$name.zone":
+ ensure => present,
+ owner => root,
+ group => root,
+ mode => 644,
+ content => template("bind/zones/$name.zone"),
+ require => Package[bind],
+ notify => Service[named]
+ }
+ }
+
+
class bind_master inherits bind_base {
file { '/var/lib/named/etc/named.conf':
content => template("bind/named_base.conf", "bind/named_master.conf"),
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/mageia-sysadm/attachments/20101201/e94c8dae/attachment.html>
More information about the Mageia-sysadm
mailing list