]> git.donarmstrong.com Git - dsa-puppet.git/blob - modules/named/manifests/init.pp
massive style guide fixups
[dsa-puppet.git] / modules / named / manifests / init.pp
1 class named {
2
3         munin::check { 'bind': }
4
5         package { 'bind9':
6                 ensure => installed
7         }
8
9         service { 'bind9':
10                 ensure => running,
11         }
12
13         @ferm::rule { 'dsa-bind':
14                 domain      => '(ip ip6)',
15                 description => 'Allow nameserver access',
16                 rule        => '&TCP_UDP_SERVICE(53)'
17         }
18
19         file { '/var/log/bind9':
20                 ensure => directory,
21                 owner  => bind,
22                 group  => bind,
23                 mode   => '0775',
24         }
25 }