diff options
author | Jan Dittberner <jandd@cacert.org> | 2019-07-21 12:34:11 +0200 |
---|---|---|
committer | Jan Dittberner <jandd@cacert.org> | 2019-07-21 12:34:11 +0200 |
commit | 3f0acb6f452091ba00bbb27dc85ebf5205c0e7de (patch) | |
tree | bebdb9f4bc6d5de1801161fc8738e6907d43c471 /sitemodules/profiles/templates | |
parent | 7adaa98e8cc8a31c2856cf2652c1467197b86ac0 (diff) | |
download | cacert-puppet-3f0acb6f452091ba00bbb27dc85ebf5205c0e7de.tar.gz cacert-puppet-3f0acb6f452091ba00bbb27dc85ebf5205c0e7de.tar.xz cacert-puppet-3f0acb6f452091ba00bbb27dc85ebf5205c0e7de.zip |
Add master key and certificates
icinga2 node setup on agents requires the master certificate, the CA
certificate is not sufficient.
Diffstat (limited to 'sitemodules/profiles/templates')
-rw-r--r-- | sitemodules/profiles/templates/icinga2_agent/setup_agent.sh.epp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sitemodules/profiles/templates/icinga2_agent/setup_agent.sh.epp b/sitemodules/profiles/templates/icinga2_agent/setup_agent.sh.epp index 20e2132..ad9d830 100644 --- a/sitemodules/profiles/templates/icinga2_agent/setup_agent.sh.epp +++ b/sitemodules/profiles/templates/icinga2_agent/setup_agent.sh.epp @@ -20,6 +20,6 @@ TICKET=$(/usr/bin/curl -f -s --cacert /etc/icinga2/pki/ca.crt \ --zone "<%= $::facts["fqdn"] %>" \ --parent_zone "<%= $master_host %>" \ --parent_host "<%= $master_host %>" \ ---trustedcert "/etc/icinga2/pki/ca.crt" \ +--trustedcert "/var/lib/icinga2/certs/<%= $master_host %>.crt" \ --accept-commands \ --disable-confd |