script => bind
}
- site::aptrepo { 'geoip':
- template => 'debian-org/etc/apt/sources.list.d/geoip.list.erb',
- }
+ #site::aptrepo { 'geoip':
+ # url => 'http://db.debian.org/debian-admin',
+ # suite => 'lenny-bind-geoip',
+ # components => 'main',
+ #}
+ site::aptrepo { 'geoip': ensure => absent }
file { '/etc/bind/':
ensure => directory,
}
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',