/[adm]/puppet/modules/apache/manifests/mod/ssl.pp
ViewVC logotype

Annotation of /puppet/modules/apache/manifests/mod/ssl.pp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2680 - (hide annotations) (download)
Sun Mar 25 12:20:18 2012 UTC (12 years, 1 month ago) by misc
File size: 584 byte(s)
split mod_ssl in a separate file ( and directory to not clutter toplevel )
1 misc 2680 class apache::mod::ssl {
2     include apache::base
3     file { '/etc/ssl/apache/':
4     ensure => directory
5     }
6    
7     openssl::self_signed_cert{ 'localhost':
8     directory => '/etc/ssl/apache/',
9     before => Apache::Config['/etc/httpd/conf/vhosts.d/01_default_ssl_vhost.conf'],
10     }
11    
12     package { 'apache-mod_ssl': }
13    
14     apache::config {
15     '/etc/httpd/conf/vhosts.d/01_default_ssl_vhost.conf':
16     content => template('apache/01_default_ssl_vhost.conf');
17     '/etc/httpd/conf.d/ssl.conf':
18     content => template('apache/ssl.conf');
19     }
20     }

  ViewVC Help
Powered by ViewVC 1.1.30