From 9f70539073768bf1bd3e4a417d0e139e02d705cd Mon Sep 17 00:00:00 2001 From: Leif Johansson Date: Wed, 25 Mar 2015 16:19:58 +0100 Subject: name ca --- global/overlay/etc/puppet/modules/sunet/manifests/ici_ca.pp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'global/overlay/etc/puppet/modules/sunet/manifests') diff --git a/global/overlay/etc/puppet/modules/sunet/manifests/ici_ca.pp b/global/overlay/etc/puppet/modules/sunet/manifests/ici_ca.pp index a8924c0..172c02e 100644 --- a/global/overlay/etc/puppet/modules/sunet/manifests/ici_ca.pp +++ b/global/overlay/etc/puppet/modules/sunet/manifests/ici_ca.pp @@ -26,11 +26,12 @@ define sunet::ici_ca($pkcs11_module="/usr/lib/softhsm/libsofthsm.so", } } -define sunet::ici_ca::autosign($autosign_dir=undef, +define sunet::ici_ca::autosign($ca=undef, + $autosign_dir=undef, $autosign_type="client") { cron {'ici_autosign_${name}': - command => "test -f /var/lib/ici/${name}/ca.crt && /usr/bin/ici ${name} issue -t ${autosign_type} ${autosign_dir}", + command => "test -f /var/lib/ici/${ca}/ca.crt && /usr/bin/ici ${ca} issue -t ${autosign_type} ${autosign_dir}", user => "root", minute => "*/5" } -- cgit v1.1