aboutsummaryrefslogtreecommitdiffstats
path: root/modules/catdap
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2010-11-08 00:41:39 +0000
committerMichael Scherer <misc@mageia.org>2010-11-08 00:41:39 +0000
commite45fa5c83df1b587e560d4d3537a4967b313b245 (patch)
tree5d20cffc7934f04c68852a62efef1ac663a5ebf4 /modules/catdap
parent699faea3e57d0a7708370aeb7ef6de2edd9365ac (diff)
downloadpuppet-e45fa5c83df1b587e560d4d3537a4967b313b245.tar
puppet-e45fa5c83df1b587e560d4d3537a4967b313b245.tar.gz
puppet-e45fa5c83df1b587e560d4d3537a4967b313b245.tar.bz2
puppet-e45fa5c83df1b587e560d4d3537a4967b313b245.tar.xz
puppet-e45fa5c83df1b587e560d4d3537a4967b313b245.zip
- deploy catdap with ssl and fastcgi
Diffstat (limited to 'modules/catdap')
-rw-r--r--modules/catdap/manifests/init.pp25
1 files changed, 16 insertions, 9 deletions
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")
+# }
}