X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;ds=sidebyside;f=modules%2Froles%2Fmanifests%2Fdns_geodns.pp;h=80ac29adc84e03e4a74cbbc739c3e5a032ec42df;hb=467347d5b49d336f7f6898a25a2dd0737e8c5b75;hp=f2197c56cf5a6a37dbe589364f87353ace40d570;hpb=5cc4b8da58962991fcb4281caa9ded4f6139d47a;p=mirror%2Fdsa-puppet.git diff --git a/modules/roles/manifests/dns_geodns.pp b/modules/roles/manifests/dns_geodns.pp index f2197c56c..80ac29adc 100644 --- a/modules/roles/manifests/dns_geodns.pp +++ b/modules/roles/manifests/dns_geodns.pp @@ -3,6 +3,12 @@ class roles::dns_geodns { include named::geodns ssh::keygen { 'geodnssync': } + ssh::authorized_key_add { 'dns_geodns::pull-from-primary': + target_user => 'geodnssync', + command => '/usr/bin/rsync --server --sender -logDtprze.iL . zonefiles/', + key => $facts['geodnssync_key'], + collect_tag => 'dns_primary', + } ssh::authorized_key_collect { 'geodnssync-node': target_user => 'geodnssync',