--- /dev/null
+# the primary (hidden master) nameserver does bind zone file stuff and letsencrypt cert handling
+class roles::dns_primary {
+ include named::primary
+
+ ssh::authorized_key_collect { 'dns_primary-dnsadm':
+ target_user => 'dssadm',
+ collect_tag => 'dns_primary',
+ }
+ ssh::authorized_key_collect { 'dns_primary-letsencrypt':
+ target_user => 'letsencrypt',
+ collect_tag => 'dns_primary',
+ }
+}
key => $facts['git_key'],
collect_tag => 'puppetmaster',
}
+
+
+ ssh::authorized_key_add { 'dsa_gitolite::dns_primary_dnsadm':
+ target_user => 'dnsadm',
+ command => '/srv/dns.debian.org/bin/from-adayevskaya',
+ key => $facts['git_key'],
+ collect_tag => 'dns_primary',
+ }
+
+ ssh::authorized_key_add { 'dsa_gitolite::dns_primary_letsencrypt':
+ target_user => 'letsencrypt',
+ command => '/srv/letsencrypt.debian.org/bin/from-adayevskaya',
+ key => $facts['git_key'],
+ collect_tag => 'dns_primary',
+ }
}
}