X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fnamed%2Fmanifests%2Fgeodns.pp;h=0a788231509f1da682fcf90faa8c49abc0d95d27;hb=190141f23da1499f30a680f5f00412326deace0d;hp=b00d727898a89992112ee3e3da0af9d608939b97;hpb=9573712862a431d238cf67894f4b422794eaa78f;p=mirror%2Fdsa-puppet.git diff --git a/modules/named/manifests/geodns.pp b/modules/named/manifests/geodns.pp index b00d72789..0a7882315 100644 --- a/modules/named/manifests/geodns.pp +++ b/modules/named/manifests/geodns.pp @@ -3,11 +3,12 @@ class named::geodns inherits named { script => bind } - site::aptrepo { 'geoip': - url => 'http://db.debian.org/debian-admin', - suite => 'lenny-bind-geoip', - components => 'main', - } + #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, @@ -22,12 +23,15 @@ class named::geodns inherits named { } 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, @@ -37,6 +41,7 @@ class named::geodns inherits named { } 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',