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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2705 - (show annotations) (download)
Mon Apr 2 11:05:32 2012 UTC (10 years, 4 months ago) by misc
File size: 588 byte(s)
move the template into a subdirectory ( cleaner )
1 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/mod/ssl.conf');
19 }
20 }

  ViewVC Help
Powered by ViewVC 1.1.28