X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fdnsextras%2Fmanifests%2Fentries.pp;h=64dad9dcdc5531fcb948e4c2cb018663987ab76a;hb=5cb629daf743fb9c35822d8a6787254cab527478;hp=dcbd18ff312383c890cef40bf7042f0cd40e5f18;hpb=594500cc35f38991e92bfd907a54ccd12fef3d42;p=mirror%2Fdsa-puppet.git diff --git a/modules/dnsextras/manifests/entries.pp b/modules/dnsextras/manifests/entries.pp index dcbd18ff3..64dad9dcd 100644 --- a/modules/dnsextras/manifests/entries.pp +++ b/modules/dnsextras/manifests/entries.pp @@ -1,4 +1,6 @@ class dnsextras::entries { + include concat::setup + file { '/srv/dns.debian.org/puppet-extra': ensure => 'directory', } @@ -12,7 +14,7 @@ class dnsextras::entries { exec { 'rebuild debian.org zone': path => '/usr/bin:/usr/sbin:/bin:/sbin', - command => 'sh -c "/git/HOOKS/write_zonefile debian.org && rndc reload"', + command => '/bin/su - dnsadm -c "/srv/dns.debian.org/bin/update-zones"', refreshonly => true, } }