From: Peter Palfrader Date: Wed, 27 May 2009 19:24:00 +0000 (+0200) Subject: Add recvconf, recvconf.files, and auth keys to manifest X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=76cb048af5009b827b27745dcf46e7503b4b7944;p=mirror%2Fdsa-puppet.git Add recvconf, recvconf.files, and auth keys to manifest --- diff --git a/modules/geodns/manifests/init.pp b/modules/geodns/manifests/init.pp index 542f5584b..a0397d07e 100644 --- a/modules/geodns/manifests/init.pp +++ b/modules/geodns/manifests/init.pp @@ -35,12 +35,41 @@ class geodns { ; "/etc/bind/named.conf.options": source => [ "puppet:///geodns/per-host/$fqdn/named.conf.options", - "puppet:///geodns/common/named.conf.options" ], + "puppet:///geodns/common/named.conf.options" ], require => Package["bind9"], notify => Exec["bind9 restart"], owner => root, group => root, ; + + "/etc/bind/geodns": + ensure => directory, + owner => root, + group => geodnssync, + mode => 775, + ; + "/etc/bind/geodns/recvconf": + source => [ "puppet:///geodns/per-host/$fqdn/recvconf", + "puppet:///geodns/common/recvconf" ], + owner => root, + group => root, + mode => 555, + ; + "/etc/bind/geodns/recvconf.files": + source => [ "puppet:///geodns/per-host/$fqdn/recvconf.files", + "puppet:///geodns/common/recvconf.files" ], + owner => root, + group => root, + mode => 444, + ; + + "/etc/ssh/userkeys/geodnssync": + source => [ "puppet:///geodns/per-host/$fqdn/authorized_keys", + "puppet:///geodns/common/authorized_keys" ], + owner => root, + group => geodnssync, + mode => 440, + ; } exec {