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

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

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2660 by pterjan, Sun Oct 16 15:39:03 2011 UTC revision 2661 by misc, Tue Mar 20 17:30:35 2012 UTC
# Line 1  Line 1 
   
1  class dns {  class dns {
2      class server {      class server {
3          include bind::bind_master          include bind::master
4          dns::zone { "mageia.org": }          dns::zone { 'mageia.org': }
5    
6          dns::reverse_zone { "7.0.0.0.2.0.0.0.8.7.1.2.2.0.a.2.ip6.arpa": }          dns::reverse_zone { '7.0.0.0.2.0.0.0.8.7.1.2.2.0.a.2.ip6.arpa': }
7          dns::reverse_zone { "2.1.0.0.0.0.0.1.b.0.e.0.1.0.a.2.ip6.arpa": }          dns::reverse_zone { '2.1.0.0.0.0.0.1.b.0.e.0.1.0.a.2.ip6.arpa': }
8      }      }
9    
10      define zone {      define zone {
11          bind::zone_master { $name:          bind::zone::master { $name:
12              content => template("dns/$name.zone")              content => template("dns/$name.zone")
13          }                  }
14      }      }
15    
16      define reverse_zone {      define reverse_zone {
17          bind::zone_reverse { $name:          bind::zone::reverse { $name:
18              content => template("dns/$name.zone")              content => template("dns/$name.zone")
19          }          }
20      }      }

Legend:
Removed from v.2660  
changed lines
  Added in v.2661

  ViewVC Help
Powered by ViewVC 1.1.28