diff options
-rw-r--r-- | modules/apache/manifests/init.pp | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/modules/apache/manifests/init.pp b/modules/apache/manifests/init.pp index 8a9bd783..d528ebee 100644 --- a/modules/apache/manifests/init.pp +++ b/modules/apache/manifests/init.pp @@ -38,16 +38,6 @@ class apache { content => template("apache/00_default_vhosts.conf") } - file { "01_default_ssl_vhost.conf": - path => '/etc/httpd/conf/vhosts.d/01_default_ssl_vhost.conf', - ensure => "present", - owner => root, - group => root, - mode => 644, - notify => Service['apache'], - require => Package["apache-conf"], - content => template("apache/01_default_ssl_vhost.conf") - } } class mod_php inherits base { @@ -92,6 +82,17 @@ class apache { package { "apache-mod_ssl": ensure => installed } + + file { "01_default_ssl_vhost.conf": + path => '/etc/httpd/conf/vhosts.d/01_default_ssl_vhost.conf', + ensure => "present", + owner => root, + group => root, + mode => 644, + notify => Service['apache'], + require => Package["apache-conf"], + content => template("apache/01_default_ssl_vhost.conf") + } } class mod_wsgi inherits base { |