2 class roles::dns_geodns {
5 ssh::keygen { 'geodnssync': }
6 ssh::authorized_key_add { 'dns_geodns::pull-from-primary':
7 target_user => 'geodnssync',
8 command => '/usr/bin/rsync --server --sender -logDtprze.iL . zonefiles/',
9 key => $facts['geodnssync_key'],
10 collect_tag => 'dns_primary',
13 ssh::authorized_key_collect { 'geodnssync-node':
14 target_user => 'geodnssync',
15 collect_tag => 'geodnssync-node',