projects
/
mirror
/
dsa-puppet.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
28a666b5a1b5ce2f78f467de98f09adc478fda64
[mirror/dsa-puppet.git]
/
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
}