X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;ds=sidebyside;f=modules%2Fnamed%2Fmanifests%2Fgeodns.pp;h=766c5e55faff2410c776a261338d17dabee670a5;hb=0908741048684a3f0d143144b82fab87095a42a6;hp=0ca7b9d8c2acb83b6270535adaada2175d171c56;hpb=5ac8ff2214288d50b7ddef3915650d6c9e65c89b;p=mirror%2Fdsa-puppet.git diff --git a/modules/named/manifests/geodns.pp b/modules/named/manifests/geodns.pp index 0ca7b9d8c..766c5e55f 100644 --- a/modules/named/manifests/geodns.pp +++ b/modules/named/manifests/geodns.pp @@ -1,4 +1,8 @@ class named::geodns inherits named { + activate_munin_check { + "bind_views": script => bind; + } + file { "/etc/apt/sources.list.d/geoip.list": content => template("debian-org/etc/apt/sources.list.d/geoip.list.erb"), @@ -21,8 +25,7 @@ class named::geodns inherits named { group => root, ; "/etc/bind/named.conf.options": - source => [ "puppet:///named/per-host/$fqdn/named.conf.options", - "puppet:///named/common/named.conf.options" ], + content => template("named/named.conf.options.erb"), require => Package["bind9"], notify => Exec["bind9 restart"], owner => root, @@ -58,14 +61,6 @@ class named::geodns inherits named { mode => 444, ; - "/usr/share/GeoIP/GeoIPv6.dat": - source => [ "puppet:///named/per-host/$fqdn/GeoIPv6.dat", - "puppet:///named/common/GeoIPv6.dat" ], - owner => root, - group => root, - mode => 444, - ; - "/etc/ssh/userkeys/geodnssync": source => [ "puppet:///named/per-host/$fqdn/authorized_keys", "puppet:///named/common/authorized_keys" ], @@ -73,12 +68,6 @@ class named::geodns inherits named { group => geodnssync, mode => 440, ; - "/var/log/bind9": - ensure => directory, - owner => bind, - group => bind, - mode => 775, - ; } }