aboutsummaryrefslogtreecommitdiffstats
path: root/deployment/dns/manifests/init.pp
blob: 57a556b6001534e27a920098bdfb47d9de10b6c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21

class dns {
    class server {
        include bind::bind_master
        dns::zone { "mageia.org": }

        dns::reverse_zone { "7.0.0.0.2.0.0.0.8.7.1.2.2.0.a.2.ip6.arpa": }
    }

    define zone {
        bind::zone_master { $name:
            content => template("dns/$name.zone")
        }        
    }

    define reverse_zone {
        bind::zone_reverse { $name:
            content => template("dns/$name.zone")
        }
    }
}