/[adm]/puppet/modules/bind/manifests/zone.pp
ViewVC logotype

Contents of /puppet/modules/bind/manifests/zone.pp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2660 - (show annotations) (download)
Tue Mar 20 17:30:33 2012 UTC (12 years ago) by misc
File size: 349 byte(s)
rework the layout of the bind module
1 define bind::zone($type, $content = false) {
2 if ! $content {
3 $zone_content = template("bind/zones/$name.zone")
4 } else {
5 $zone_content = $content
6 }
7 file { "/var/lib/named/var/named/$type/$name.zone":
8 content => $zone_content,
9 require => Package['bind'],
10 notify => Exec['named_reload']
11 }
12 }

  ViewVC Help
Powered by ViewVC 1.1.30