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:
ebaec47
)
Install server certs into /etc/ssl/debian also
author
Peter Palfrader
<peter@palfrader.org>
Sat, 18 Aug 2012 19:39:12 +0000
(21:39 +0200)
committer
Peter Palfrader
<peter@palfrader.org>
Sat, 18 Aug 2012 19:39:12 +0000
(21:39 +0200)
modules/ssl/manifests/init.pp
patch
|
blob
|
history
diff --git
a/modules/ssl/manifests/init.pp
b/modules/ssl/manifests/init.pp
index
86094b1
..
4e52ad3
100644
(file)
--- a/
modules/ssl/manifests/init.pp
+++ b/
modules/ssl/manifests/init.pp
@@
-40,6
+40,16
@@
class ssl {
source => 'puppet:///modules/ssl/clientcerts/ca.crl',
}
+ file { '/etc/ssl/debian/certs/thishost-server.crt':
+ source => "puppet:///modules/exim/certs/${::fqdn}.crt",
+ notify => Exec['c_rehash /etc/ssl/debian/certs'],
+ }
+ file { '/etc/ssl/debian/certs/thishost-server.key':
+ source => "puppet:///modules/exim/certs/${::fqdn}.key",
+ group => ssl-certm,
+ mode => '0640',
+ }
+
exec { 'c_rehash /etc/ssl/debian/certs':
refreshonly => true,
}