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'),
26 notify => Service['bind9'],
28 file { '/etc/bind/named.conf.local':
29 source => 'puppet:///modules/named/common/named.conf.local',
30 notify => Service['bind9'],
32 file { '/etc/bind/named.conf.acl':
33 source => 'puppet:///modules/named/common/named.conf.acl',
34 notify => Service['bind9'],
36 file { '/etc/bind/geodns/zonefiles':
42 file { '/etc/bind/geodns/named.conf.geo':
43 source => 'puppet:///modules/named/common/named.conf.geo',
44 notify => Service['bind9'],
46 file { '/etc/bind/geodns/trigger':
48 source => 'puppet:///modules/named/common/trigger',
50 file { '/etc/ssh/userkeys/geodnssync':
51 source => 'puppet:///modules/named/common/authorized_keys',
55 file { '/etc/cron.d/dsa-boot-geodnssync':
56 source => 'puppet:///modules/named/common/cron-geo'