projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
packages -> hiera role; explicitly include apache2
[mirror/dsa-puppet.git]
/
modules
/
roles
/
manifests
/
dns_geodns.pp
diff --git
a/modules/roles/manifests/dns_geodns.pp
b/modules/roles/manifests/dns_geodns.pp
index
f2197c5
..
80ac29a
100644
(file)
--- 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': }
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',
ssh::authorized_key_collect { 'geodnssync-node':
target_user => 'geodnssync',