projects
/
mirror
/
dsa-puppet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b52ef14
)
restart stunnel regularly
author
Peter Palfrader
<peter@palfrader.org>
Tue, 24 May 2011 10:11:19 +0000
(12:11 +0200)
committer
Peter Palfrader
<peter@palfrader.org>
Tue, 24 May 2011 10:11:19 +0000
(12:11 +0200)
modules/entropykey/manifests/init.pp
patch
|
blob
|
history
diff --git
a/modules/entropykey/manifests/init.pp
b/modules/entropykey/manifests/init.pp
index
13de3e4
..
e9c6126
100644
(file)
--- a/
modules/entropykey/manifests/init.pp
+++ b/
modules/entropykey/manifests/init.pp
@@
-8,6
+8,13
@@
class entropykey::provider {
source => "puppet:///modules/entropykey/ekeyd.conf",
notify => Exec['restart_ekeyd'],
require => [ Package['ekeyd'] ],
+ ;
+ # our CRL expires after a while (2 or 4 weeks?), so we have
+ # to restart stunnel so it loads the new CRL.
+ "/etc/cron.weekly/stunnel-ekey.conf":
+ content => "# This file is under puppet control\nenv -i /etc/init.d/stunnel4 restart puppet-ekeyd\n",
+ mode => "555",
+ ;
;
}