1 class named::geodns inherits named {
2 munin::check { 'bind_views':
6 package { 'geoip-database':
10 #site::aptrepo { 'geoip':
11 # url => 'http://db.debian.org/debian-admin',
12 # suite => 'lenny-bind-geoip',
13 # components => 'main',
15 site::aptrepo { 'geoip': ensure => absent }
21 require => Package['bind9'],
22 notify => Service['bind9'],
24 file { '/etc/bind/geodns':
28 file { '/etc/bind/named.conf.options':
29 content => template('named/named.conf.options.erb'),
30 notify => Service['bind9'],
32 file { '/etc/bind/named.conf.local':
33 source => 'puppet:///modules/named/common/named.conf.local',
34 notify => Service['bind9'],
36 file { '/etc/bind/named.conf.acl':
37 source => 'puppet:///modules/named/common/named.conf.acl',
38 notify => Service['bind9'],
40 file { '/etc/bind/geodns/zonefiles':
46 file { '/etc/bind/geodns/named.conf.geo':
47 source => 'puppet:///modules/named/common/named.conf.geo',
48 notify => Service['bind9'],
50 file { '/etc/bind/geodns/trigger':
52 source => 'puppet:///modules/named/common/trigger',
54 file { '/etc/ssh/userkeys/geodnssync':
55 source => 'puppet:///modules/named/common/authorized_keys',
59 file { '/etc/cron.d/dsa-boot-geodnssync':
60 source => 'puppet:///modules/named/common/cron-geo'