X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fgeodns%2Fmanifests%2Finit.pp;h=a222910ca7ff2414d635802886520197133b175c;hb=64f3c03733c86c1a5fb6327767b313058cf3d04c;hp=3ac149c798f4f28ba97cfd4863e8244bd4d16d0f;hpb=bfcaee07716abb0593d55de9703f391d32fed108;p=mirror%2Fdsa-puppet.git diff --git a/modules/geodns/manifests/init.pp b/modules/geodns/manifests/init.pp index 3ac149c79..a222910ca 100644 --- a/modules/geodns/manifests/init.pp +++ b/modules/geodns/manifests/init.pp @@ -7,12 +7,19 @@ class geodns { "puppet:///geodns/common/pdns.conf" ], require => Package["pdns-backend-geo"], notify => Exec["pdns restart"], + owner => root, + group => root, + mode => 600, + } file { "/etc/powerdns/pdns.d/pdns.local": source => [ "puppet:///geodns/per-host/$fqdn/pdns.local", "puppet:///geodns/common/pdns.local" ], require => Package["pdns-backend-geo"], notify => Exec["pdns restart"], + owner => root, + group => root, + mode => 600, } file { "/etc/powerdns/ip2iso": source => [ "puppet:///geodns/per-host/$fqdn/ip2iso",