X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fgeodns%2Fmanifests%2Finit.pp;h=d55d85c00de033813c5a25ee589a7f2f6fff2a66;hb=baf669afc6462190b8eebdecfca0996022242405;hp=27d236593b46dfcfad0819b4577c14000b53aa5f;hpb=489c57a538241de27243d5a3bc2413c559d73022;p=mirror%2Fdsa-puppet.git diff --git a/modules/geodns/manifests/init.pp b/modules/geodns/manifests/init.pp index 27d236593..d55d85c00 100644 --- a/modules/geodns/manifests/init.pp +++ b/modules/geodns/manifests/init.pp @@ -40,6 +40,14 @@ class geodns { group => geodnssync, mode => 775, ; + "/etc/bind/geodns/named.conf.geo": + source => [ "puppet:///geodns/per-host/$fqdn/named.conf.geo", + "puppet:///geodns/common/named.conf.geo" ], + require => Package["bind9"], + notify => Exec["bind9 restart"], + owner => root, + group => root, + ; "/etc/bind/geodns/recvconf": source => [ "puppet:///geodns/per-host/$fqdn/recvconf", "puppet:///geodns/common/recvconf" ], @@ -55,6 +63,14 @@ class geodns { mode => 444, ; + "/usr/share/GeoIP/GeoIPv6.dat": + source => [ "puppet:///geodns/per-host/$fqdn/GeoIPv6.dat", + "puppet:///geodns/common/GeoIPv6.dat" ], + owner => root, + group => root, + mode => 444, + ; + "/etc/ssh/userkeys/geodnssync": source => [ "puppet:///geodns/per-host/$fqdn/authorized_keys", "puppet:///geodns/common/authorized_keys" ],