From e45fa5c83df1b587e560d4d3537a4967b313b245 Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Mon, 8 Nov 2010 00:41:39 +0000 Subject: - deploy catdap with ssl and fastcgi --- modules/catdap/manifests/init.pp | 25 ++++++++++++++++--------- 1 file changed, 16 insertions(+), 9 deletions(-) (limited to 'modules/catdap') diff --git a/modules/catdap/manifests/init.pp b/modules/catdap/manifests/init.pp index dd1398fc..7d388aa7 100644 --- a/modules/catdap/manifests/init.pp +++ b/modules/catdap/manifests/init.pp @@ -35,14 +35,21 @@ class catdap { require => Subversion::Snapshot[$catdap_location] } + apache::vhost_catalyst_app { $catdap_vhost: + location => $catdap_location, + use_ssl => true, + } + + apache::vhost_redirect_ssl { $catdap_vhost: } + # add a apache vhost - file { "$catdap_vhost.conf": - path => "/etc/httpd/conf/vhosts.d/$catdap_vhost.conf", - ensure => "present", - owner => root, - group => root, - mode => 644, - notify => Service['apache'], - content => template("catdap/catdap_vhost.conf") - } +# file { "$catdap_vhost.conf": +# path => "/etc/httpd/conf/vhosts.d/$catdap_vhost.conf", +# ensure => "present", +# owner => root, +# group => root, +# mode => 644, +# notify => Service['apache'], +# content => template("catdap/catdap_vhost.conf") +# } } -- cgit v1.2.1