X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Froles%2Fmanifests%2Fdns_primary.pp;h=7e4327ab5a8997f654335965931fa390bd002bd1;hb=dff2163a13d36f929819dc15c746770faab4af55;hp=663b3786b3f70710493446b9f76cb96d8b5de204;hpb=3ddc2b0908d45ef32e7f52ef1655feac2425be09;p=mirror%2Fdsa-puppet.git diff --git a/modules/roles/manifests/dns_primary.pp b/modules/roles/manifests/dns_primary.pp index 663b3786b..7e4327ab5 100644 --- a/modules/roles/manifests/dns_primary.pp +++ b/modules/roles/manifests/dns_primary.pp @@ -10,4 +10,16 @@ class roles::dns_primary { target_user => 'letsencrypt', collect_tag => 'dns_primary', } + ssh::authorized_key_collect { 'dns_primary-geodnssync': + target_user => 'geodnssync', + collect_tag => 'dns_primary', + } + + ssh::keygen {'dnsadm': } + ssh::authorized_key_add { 'dns_primary::geodns': + target_user => 'geodnssync', + command => '/etc/bind/geodns/trigger', + key => $facts['dnsadm_key'], + collect_tag => 'geodnssync-node', + } }