script => bind
}
+ package { 'geoip-database':
+ ensure => installed,
+ }
+
#site::aptrepo { 'geoip':
# url => 'http://db.debian.org/debian-admin',
# suite => 'lenny-bind-geoip',
}
file { '/etc/bind/named.conf.options':
content => template('named/named.conf.options.erb'),
+ notify => Service['bind9'],
}
file { '/etc/bind/named.conf.local':
source => 'puppet:///modules/named/common/named.conf.local',
+ notify => Service['bind9'],
}
file { '/etc/bind/named.conf.acl':
source => 'puppet:///modules/named/common/named.conf.acl',
+ notify => Service['bind9'],
}
file { '/etc/bind/geodns/zonefiles':
ensure => directory,
}
file { '/etc/bind/geodns/named.conf.geo':
source => 'puppet:///modules/named/common/named.conf.geo',
+ notify => Service['bind9'],
}
file { '/etc/bind/geodns/trigger':
mode => '0555',