1 class named::geodns inherits named {
2 munin::check { 'bind_views':
6 site::aptrepo { 'geoip':
7 template => 'debian-org/etc/apt/sources.list.d/geoip.list.erb',
12 require => Package['bind9'],
13 notify => Service['bind9'],
15 file { '/etc/bind/geodns':
18 file { '/etc/bind/named.conf.options':
19 content => template('named/named.conf.options.erb'),
21 file { '/etc/bind/named.conf.local':
22 source => 'puppet:///modules/named/common/named.conf.local',
24 file { '/etc/bind/named.conf.acl':
25 source => 'puppet:///modules/named/common/named.conf.acl',
27 file { '/etc/bind/geodns/zonefiles':
33 file { '/etc/bind/geodns/named.conf.geo':
34 source => 'puppet:///modules/named/common/named.conf.geo',
36 file { '/etc/bind/geodns/trigger':
37 source => 'puppet:///modules/named/common/trigger',
39 file { '/etc/ssh/userkeys/geodnssync':
40 source => 'puppet:///modules/named/common/authorized_keys',
44 file { '/etc/cron.d/dsa-boot-geodnssync':
45 source => 'puppet:///modules/named/common/cron-geo'