diff options
author | Leif Johansson <leifj@sunet.se> | 2015-03-24 22:41:03 +0100 |
---|---|---|
committer | Leif Johansson <leifj@sunet.se> | 2015-03-24 22:41:03 +0100 |
commit | 32c5788666fb3ed54cf8c738ba55cb92a7d1a843 (patch) | |
tree | 7b07a58ae33fb8e61449fcbdf6892e488686802e /global/overlay | |
parent | 2fb5f25dcec2ceb1b51cce03b563909dae7f816b (diff) |
syntaxsunet-ops-2015-03-24-v04
Diffstat (limited to 'global/overlay')
-rw-r--r-- | global/overlay/etc/puppet/modules/sunet/manifests/ici_ca.pp | 6 |
1 files changed, 3 insertions, 3 deletions
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 ed7811d..f1cb6de 100644 --- a/global/overlay/etc/puppet/modules/sunet/manifests/ici_ca.pp +++ b/global/overlay/etc/puppet/modules/sunet/manifests/ici_ca.pp @@ -19,7 +19,7 @@ define sunet::ici_ca($pkcs11_module="/usr/lib/softhsm/libsofthsm.so", } -> if ($public_repo_dir && $public_repo_url) { cron {'ici_publish': - command => "test -f /var/lib/ici/${name}/ca.crt && /usr/bin/ici ${name} publish ${public_repo}" + command => "test -f /var/lib/ici/${name}/ca.crt && /usr/bin/ici ${name} publish ${public_repo}", user => "root", minut => "*/5" } @@ -27,10 +27,10 @@ define sunet::ici_ca($pkcs11_module="/usr/lib/softhsm/libsofthsm.so", } define sunet::ici_ca::autosign($autosign_dir=undef, - $autosign_type="peer") + $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/${name}/ca.crt && /usr/bin/ici ${name} issue -t ${autosign_type} ${autosign_dir}", user => "root", minut => "*/5" } |