summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-sysadm/2010-November/000289.html
diff options
context:
space:
mode:
Diffstat (limited to 'zarb-ml/mageia-sysadm/2010-November/000289.html')
-rw-r--r--zarb-ml/mageia-sysadm/2010-November/000289.html119
1 files changed, 119 insertions, 0 deletions
diff --git a/zarb-ml/mageia-sysadm/2010-November/000289.html b/zarb-ml/mageia-sysadm/2010-November/000289.html
new file mode 100644
index 000000000..772dc8ac9
--- /dev/null
+++ b/zarb-ml/mageia-sysadm/2010-November/000289.html
@@ -0,0 +1,119 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
+<HTML>
+ <HEAD>
+ <TITLE> [Mageia-sysadm] [167] - add a define to ease catalyst application deployement
+ </TITLE>
+ <LINK REL="Index" HREF="index.html" >
+ <LINK REL="made" HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20%5B167%5D%20-%20add%20a%20define%20to%20ease%20catalyst%20application%0A%09deployement&In-Reply-To=%3C20101105232917.362F63FBFC%40valstar.mageia.org%3E">
+ <META NAME="robots" CONTENT="index,nofollow">
+ <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
+ <LINK REL="Previous" HREF="000288.html">
+ <LINK REL="Next" HREF="000290.html">
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <H1>[Mageia-sysadm] [167] - add a define to ease catalyst application deployement</H1>
+ <B>root at mageia.org</B>
+ <A HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20%5B167%5D%20-%20add%20a%20define%20to%20ease%20catalyst%20application%0A%09deployement&In-Reply-To=%3C20101105232917.362F63FBFC%40valstar.mageia.org%3E"
+ TITLE="[Mageia-sysadm] [167] - add a define to ease catalyst application deployement">root at mageia.org
+ </A><BR>
+ <I>Sat Nov 6 00:29:17 CET 2010</I>
+ <P><UL>
+ <LI>Previous message: <A HREF="000288.html">[Mageia-sysadm] [166] - enable reporting, as explained on http://projects.puppetlabs.com/ projects/1/wiki/Reports_And_Reporting
+</A></li>
+ <LI>Next message: <A HREF="000290.html">[Mageia-sysadm] [168] - refactor catalyst application config using a common class ( catdap is next )
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#289">[ date ]</a>
+ <a href="thread.html#289">[ thread ]</a>
+ <a href="subject.html#289">[ subject ]</a>
+ <a href="author.html#289">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>Revision: 167
+Author: misc
+Date: 2010-11-06 00:29:16 +0100 (Sat, 06 Nov 2010)
+Log Message:
+-----------
+- add a define to ease catalyst application deployement
+
+Modified Paths:
+--------------
+ puppet/modules/apache/manifests/init.pp
+
+Added Paths:
+-----------
+ puppet/modules/apache/templates/vhost_catalyst_app.conf
+
+Modified: puppet/modules/apache/manifests/init.pp
+===================================================================
+--- puppet/modules/apache/manifests/init.pp 2010-11-05 18:58:30 UTC (rev 166)
++++ puppet/modules/apache/manifests/init.pp 2010-11-05 23:29:16 UTC (rev 167)
+@@ -53,4 +53,19 @@
+ ensure =&gt; installed
+ }
+ }
++
++ define vhost_catalyst_app($script, $process = 4, $force_ssl = false) {
++
++ include apache::mod_fastcgi
++
++ file { &quot;$name.conf&quot;:
++ path =&gt; &quot;/etc/httpd/conf/vhosts.d/$name.conf&quot;,
++ ensure =&gt; &quot;present&quot;,
++ owner =&gt; root,
++ group =&gt; root,
++ mode =&gt; 644,
++ notify =&gt; Service['apache'],
++ content =&gt; template(&quot;apache/vhost_catalyst_app.conf&quot;)
++ }
++ }
+ }
+
+Added: puppet/modules/apache/templates/vhost_catalyst_app.conf
+===================================================================
+--- puppet/modules/apache/templates/vhost_catalyst_app.conf (rev 0)
++++ puppet/modules/apache/templates/vhost_catalyst_app.conf 2010-11-05 23:29:16 UTC (rev 167)
+@@ -0,0 +1,13 @@
++&lt;VirtualHost *:80&gt;
++ ServerName &lt;%= vhost %&gt;
++ # Serve static content directly
++ DocumentRoot /dev/null
++
++ Alias &lt;%= script %&gt;/ /
++ FastCgiServer &lt;%= script %&gt; -processes &lt;%= process %&gt; -idle-timeout 30
++
++ &lt;Location /&gt;
++ Allow from all
++ &lt;/Location&gt;
++&lt;/VirtualHost&gt;
++
+-------------- next part --------------
+An HTML attachment was scrubbed...
+URL: &lt;/pipermail/mageia-sysadm/attachments/20101106/7353c0c4/attachment.html&gt;
+</PRE>
+
+
+
+
+<!--endarticle-->
+ <HR>
+ <P><UL>
+ <!--threads-->
+ <LI>Previous message: <A HREF="000288.html">[Mageia-sysadm] [166] - enable reporting, as explained on http://projects.puppetlabs.com/ projects/1/wiki/Reports_And_Reporting
+</A></li>
+ <LI>Next message: <A HREF="000290.html">[Mageia-sysadm] [168] - refactor catalyst application config using a common class ( catdap is next )
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#289">[ date ]</a>
+ <a href="thread.html#289">[ thread ]</a>
+ <a href="subject.html#289">[ subject ]</a>
+ <a href="author.html#289">[ author ]</a>
+ </LI>
+ </UL>
+
+<hr>
+<a href="https://www.mageia.org/mailman/listinfo/mageia-sysadm">More information about the Mageia-sysadm
+mailing list</a><br>
+</body></html>