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',
target_user => 'letsencrypt',
collect_tag => 'dns_primary',
}
- ssh::keygen {'dnsadm': }
+ 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',