diff --git a/global/overlay/etc/puppet/modules/eid/manifests/idm_app.pp b/global/overlay/etc/puppet/modules/eid/manifests/idm_app.pp index 264548eb..69305d95 100644 --- a/global/overlay/etc/puppet/modules/eid/manifests/idm_app.pp +++ b/global/overlay/etc/puppet/modules/eid/manifests/idm_app.pp @@ -14,6 +14,11 @@ class eid::idm_app ( mode => '0755', } + 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' + } + # Unwanted password - but hey Java! $pass = 'qwerty123' exec { "${facts['networking']['fqdn']}_infra.p12":