+++ /dev/null
-#
-# THIS FILE IS UNDER PUPPET CONTROL. DON'T EDIT IT HERE.
-# USE: git clone git+ssh://$USER@puppet.debian.org/srv/puppet.debian.org/git/dsa-puppet.git
-#
-from="82.195.75.91,2001:41b8:202:deb:1b1b::91",command="/etc/bind/geodns/trigger",restrict ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCtZqwdRGRGycqd+EqSzMfXHZa8caLx2yjkQs3hXOWDcAkfbFhsjgnVanx90i8/FIIIVKWPHXvRpS8dsKfBn4MbVq6AYYcx/sYS9uMMjLWFMC0TqrOp4IgHMH3qXlgsq/eOnqvQXDU3DO3p2TVS/a4F7vh8/nPQtDM1JVnMgZL4rx0aXYVcFIdxv9Sy76K4MBENOnXJ73qmRaVu6fIUfk9MAdzIcMx3iOYiO78vytc4xezq743iIOee0vpY1VnF2CDxrWoVyDGDH7qNk8xeFzAGm91xrcSkVEmMVbD9vMLOOPsEZNMJlimEDetEiNwJoS0HzHq6jccksb1wjs2tOr8X dnsadm@denis (20131230)
mode => '0555',
source => 'puppet:///modules/named/common/trigger',
}
- file { '/etc/ssh/userkeys/geodnssync':
- source => 'puppet:///modules/named/common/authorized_keys',
- group => geodnssync,
- mode => '0440',
- }
file { '/etc/cron.d/dsa-boot-geodnssync': ensure => absent; }
concat::fragment { 'dsa-puppet-stuff--geodns-boot':
target => '/etc/cron.d/dsa-puppet-stuff',
include named::geodns
ssh::keygen { 'geodnssync': }
+
+ ssh::authorized_key_collect { 'geodnssync-node':
+ target_user => 'geodnssync',
+ collect_tag => 'geodnssync-node',
+ }
}
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',
+ }
}