/[adm]/puppet/deployment/dns/manifests/init.pp
ViewVC logotype

Contents of /puppet/deployment/dns/manifests/init.pp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 775 - (show annotations) (download)
Thu Jan 13 18:12:25 2011 UTC (13 years, 1 month ago) by misc
File size: 478 byte(s)
move dns zone to a module in deployment
1
2 class dns {
3 class server {
4 include bind::bind_master
5 dns::zone { "mageia.org": }
6 dns::zone { "mageia.fr": }
7
8 dns::reverse_zone { "7.0.0.0.2.0.0.0.8.7.1.2.2.0.a.2.ip6.arpa": }
9 }
10
11 define zone {
12 bind::zone_master { $name:
13 content => template("dns/$name.zone")
14 }
15 }
16
17 define reverse_zone {
18 bind::zone_reverse { $name:
19 content => template("dns/$name.zone")
20 }
21 }
22 }

  ViewVC Help
Powered by ViewVC 1.1.30