From: Peter Palfrader Date: Sat, 7 Sep 2019 21:11:54 +0000 (+0200) Subject: Add sshkey for dnsadm X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=ba2f98bdaf1fd7299992c91a64d59a22f2d89621;p=mirror%2Fdsa-puppet.git Add sshkey for dnsadm --- diff --git a/modules/debian_org/lib/facter/roleaccounts.rb b/modules/debian_org/lib/facter/roleaccounts.rb index b26105948..20bd71728 100644 --- a/modules/debian_org/lib/facter/roleaccounts.rb +++ b/modules/debian_org/lib/facter/roleaccounts.rb @@ -1,7 +1,7 @@ begin require 'etc' - %w{buildd git portforwarder postgres staticsync weblogsync geodnssync}.each do |user| + %w{buildd git portforwarder postgres staticsync weblogsync dnsadm geodnssync}.each do |user| Facter.add("#{user}_user_exists") do setcode do result = false diff --git a/modules/roles/manifests/dns_primary.pp b/modules/roles/manifests/dns_primary.pp index 663b3786b..0038e6378 100644 --- a/modules/roles/manifests/dns_primary.pp +++ b/modules/roles/manifests/dns_primary.pp @@ -10,4 +10,5 @@ class roles::dns_primary { target_user => 'letsencrypt', collect_tag => 'dns_primary', } + ssh::keygen {'dnsadm': } }