[Mageia-sysadm] [197] - deploy catdap with ssl and fastcgi

root at mageia.org root at mageia.org
Mon Nov 8 01:41:39 CET 2010


Revision: 197
Author:   misc
Date:     2010-11-08 01:41:39 +0100 (Mon, 08 Nov 2010)
Log Message:
-----------
- deploy catdap with ssl and fastcgi

Modified Paths:
--------------
    puppet/modules/catdap/manifests/init.pp

Modified: puppet/modules/catdap/manifests/init.pp
===================================================================
--- puppet/modules/catdap/manifests/init.pp	2010-11-08 00:37:59 UTC (rev 196)
+++ puppet/modules/catdap/manifests/init.pp	2010-11-08 00:41:39 UTC (rev 197)
@@ -35,14 +35,21 @@
         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")
+#    }    
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/mageia-sysadm/attachments/20101108/86ccfbf1/attachment-0001.html>


More information about the Mageia-sysadm mailing list