blob: ab3d24e4498c38ca5a41f529994a28e724edb4de (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
class apache::mod::ssl {
include apache::base
file { '/etc/ssl/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 {
'/etc/httpd/conf/vhosts.d/01_default_ssl_vhost.conf':
content => template('apache/01_default_ssl_vhost.conf');
"${apache::base::conf_d}/ssl_vhost.conf":
content => template('apache/mod/ssl_vhost.conf');
}
}
|