keytool is part of the jre - yay

This commit is contained in:
Johan Wassberg 2024-03-05 12:12:29 +01:00
parent 0b5728f1f9
commit 09ad0f07f9
Signed by: jocar
GPG key ID: BE4EC2EEADF2C31B

View file

@ -14,6 +14,11 @@ class eid::idm_app (
mode => '0755',
}
package {'openjdk-17-jre-headless':
ensure => latest
}
exec { 'infra.p12':
command => "keytool -import -noprompt -deststorepass ${pass} -file /etc/ssl/certs/infra.crt -keystore /etc/ssl/certs/infra.p12",
onlyif => 'test ! -f /etc/ssl/certs/infra.p12'