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',
9 # components => 'main',
11 site::aptrepo { 'geoip': ensure => absent }
17 require => Package['bind9'],
18 notify => Service['bind9'],
20 file { '/etc/bind/geodns':
24 file { '/etc/bind/named.conf.options':
25 content => template('named/named.conf.options.erb'),
27 file { '/etc/bind/named.conf.local':
28 source => 'puppet:///modules/named/common/named.conf.local',
30 file { '/etc/bind/named.conf.acl':
31 source => 'puppet:///modules/named/common/named.conf.acl',
33 file { '/etc/bind/geodns/zonefiles':
39 file { '/etc/bind/geodns/named.conf.geo':
40 source => 'puppet:///modules/named/common/named.conf.geo',
42 file { '/etc/bind/geodns/trigger':
44 source => 'puppet:///modules/named/common/trigger',
46 file { '/etc/ssh/userkeys/geodnssync':
47 source => 'puppet:///modules/named/common/authorized_keys',
51 file { '/etc/cron.d/dsa-boot-geodnssync':
52 source => 'puppet:///modules/named/common/cron-geo'