1 class named::geodns inherits named {
2 munin::check { 'bind_views':
6 site::aptrepo { 'geoip':
7 url => 'http://db.debian.org/debian-admin',
8 suite => 'lenny-bind-geoip',
16 require => Package['bind9'],
17 notify => Service['bind9'],
19 file { '/etc/bind/geodns':
23 file { '/etc/bind/named.conf.options':
24 content => template('named/named.conf.options.erb'),
26 file { '/etc/bind/named.conf.local':
27 source => 'puppet:///modules/named/common/named.conf.local',
29 file { '/etc/bind/named.conf.acl':
30 source => 'puppet:///modules/named/common/named.conf.acl',
32 file { '/etc/bind/geodns/zonefiles':
38 file { '/etc/bind/geodns/named.conf.geo':
39 source => 'puppet:///modules/named/common/named.conf.geo',
41 file { '/etc/bind/geodns/trigger':
43 source => 'puppet:///modules/named/common/trigger',
45 file { '/etc/ssh/userkeys/geodnssync':
46 source => 'puppet:///modules/named/common/authorized_keys',
50 file { '/etc/cron.d/dsa-boot-geodnssync':
51 source => 'puppet:///modules/named/common/cron-geo'