diff options
author | Nicolas Vigier <boklm@mageia.org> | 2011-11-09 22:14:05 +0000 |
---|---|---|
committer | Nicolas Vigier <boklm@mageia.org> | 2011-11-09 22:14:05 +0000 |
commit | 5b60bffdc9603975cf9d2642e414b93d1043eb8a (patch) | |
tree | a9062cb288fb3e9881f1ffd246c5e4246f0af4c8 /modules/apache/manifests/init.pp | |
parent | 0e16990becf746d2f141919b80aab0f1a7cb7e53 (diff) | |
download | puppet-5b60bffdc9603975cf9d2642e414b93d1043eb8a.tar puppet-5b60bffdc9603975cf9d2642e414b93d1043eb8a.tar.gz puppet-5b60bffdc9603975cf9d2642e414b93d1043eb8a.tar.bz2 puppet-5b60bffdc9603975cf9d2642e414b93d1043eb8a.tar.xz puppet-5b60bffdc9603975cf9d2642e414b93d1043eb8a.zip |
only add NameVirtualHost on port 443 when mod_ssl has been selected
Diffstat (limited to 'modules/apache/manifests/init.pp')
-rw-r--r-- | modules/apache/manifests/init.pp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/modules/apache/manifests/init.pp b/modules/apache/manifests/init.pp index d49cadbf..94405a43 100644 --- a/modules/apache/manifests/init.pp +++ b/modules/apache/manifests/init.pp @@ -106,6 +106,17 @@ class apache { require => Package["apache-conf"], content => template("apache/01_default_ssl_vhost.conf") } + + file { "ssl.conf": + ensure => present, + path => "/etc/httpd/conf.d/ssl.conf", + content => template("apache/ssl.conf"), + require => Package["apache-conf"], + notify => Service["apache"], + owner => root, + group => root, + mode => 644, + } } class mod_wsgi inherits base { |