maze-m
(Matthias)
2
Okay, I’ve reset my VM and adjusted my class again:
class { '::icinga2':
manage_repo => true,
manage_package => true,
confd => false,
features => ['checker','mainlog'],
constants => {
'ZoneName' => 'TESTZONE',
},
}
Because of setting manage_repo => true, and manage_package => true, I’ve now the newest Version of Icinga2 on my Node…
But when I tried to execute this command manually:
root@worker-template:/etc/icinga2# /usr/sbin/icinga2 pki request --host icinga2master.vorlage.local --port 5665 --ca /var/lib/icinga2/certs/ca.crt --key /var/lib/icinga2/certs/worker-template.local.key --cert /var/lib/icinga2/certs/worker-template.local.crt --trustedcert /var/lib/icinga2/certs/trusted-cert.crt --ticket <very-save-ticket_salt>
…I got the following response:
information/cli: Writing CA certificate to file '/var/lib/icinga2/certs/ca.crt'.
critical/cli: !!! Invalid ticket for CN 'worker-template.local'.
Does anyone have an idea what I have to do to get working an automatically signing of my request?