aboutsummaryrefslogtreecommitdiffstats
path: root/modules/apache/manifests
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2012-03-17 01:25:04 +0000
committerMichael Scherer <misc@mageia.org>2012-03-17 01:25:04 +0000
commit7ed1d3f2aae7d4ed9d72688f13289e0cbb1270ae (patch)
treeb6eaf73cbf01324483caeb9f9e6ddaaaff725795 /modules/apache/manifests
parent5e62738ef5aa7da16f2f0a6a2933d81261a8f9a0 (diff)
downloadpuppet-7ed1d3f2aae7d4ed9d72688f13289e0cbb1270ae.tar
puppet-7ed1d3f2aae7d4ed9d72688f13289e0cbb1270ae.tar.gz
puppet-7ed1d3f2aae7d4ed9d72688f13289e0cbb1270ae.tar.bz2
puppet-7ed1d3f2aae7d4ed9d72688f13289e0cbb1270ae.tar.xz
puppet-7ed1d3f2aae7d4ed9d72688f13289e0cbb1270ae.zip
manage the certificate used for default connexion too, since that's the one that xymon check for expiry ( and that's also what openssl does ). Probably a issue with SNI, didn't look more in details for tonight
Diffstat (limited to 'modules/apache/manifests')
-rw-r--r--modules/apache/manifests/init.pp5
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/apache/manifests/init.pp b/modules/apache/manifests/init.pp
index e6557211..d1bddc4b 100644
--- a/modules/apache/manifests/init.pp
+++ b/modules/apache/manifests/init.pp
@@ -62,6 +62,11 @@ class apache {
ensure => directory
}
+ openssl::self_signed_cert{ 'localhost':
+ directory => '/etc/ssl/apache/',
+ before => Apache::Config['/etc/httpd/conf/vhosts.d/01_default_ssl_vhost.conf'],
+ }
+
package { "apache-mod_ssl": }
apache::config {