summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-sysadm/2010-November/000340.html
diff options
context:
space:
mode:
Diffstat (limited to 'zarb-ml/mageia-sysadm/2010-November/000340.html')
-rw-r--r--zarb-ml/mageia-sysadm/2010-November/000340.html153
1 files changed, 153 insertions, 0 deletions
diff --git a/zarb-ml/mageia-sysadm/2010-November/000340.html b/zarb-ml/mageia-sysadm/2010-November/000340.html
new file mode 100644
index 000000000..0ae728e7a
--- /dev/null
+++ b/zarb-ml/mageia-sysadm/2010-November/000340.html
@@ -0,0 +1,153 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
+<HTML>
+ <HEAD>
+ <TITLE> [Mageia-sysadm] [201] - I refactored too much this doesn't work as intended for define
+ </TITLE>
+ <LINK REL="Index" HREF="index.html" >
+ <LINK REL="made" HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20%5B201%5D%20-%20I%20refactored%20too%20much%20this%20doesn%27t%20work%20as%0A%09intended%20for%20define&In-Reply-To=%3C20101108011249.4B7013FC10%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="000339.html">
+ <LINK REL="Next" HREF="000341.html">
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <H1>[Mageia-sysadm] [201] - I refactored too much this doesn't work as intended for define</H1>
+ <B>root at mageia.org</B>
+ <A HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20%5B201%5D%20-%20I%20refactored%20too%20much%20this%20doesn%27t%20work%20as%0A%09intended%20for%20define&In-Reply-To=%3C20101108011249.4B7013FC10%40valstar.mageia.org%3E"
+ TITLE="[Mageia-sysadm] [201] - I refactored too much this doesn't work as intended for define">root at mageia.org
+ </A><BR>
+ <I>Mon Nov 8 02:12:49 CET 2010</I>
+ <P><UL>
+ <LI>Previous message: <A HREF="000339.html">[Mageia-sysadm] puppet stopped on all nodes ?
+</A></li>
+ <LI>Next message: <A HREF="000341.html">[Mageia-sysadm] [202] - deploy the tagmail configuration file, so we get error on manifest application
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#340">[ date ]</a>
+ <a href="thread.html#340">[ thread ]</a>
+ <a href="subject.html#340">[ subject ]</a>
+ <a href="author.html#340">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>Revision: 201
+Author: misc
+Date: 2010-11-08 02:12:49 +0100 (Mon, 08 Nov 2010)
+Log Message:
+-----------
+- I refactored too much this doesn't work as intended for define
+
+Modified Paths:
+--------------
+ puppet/modules/apache/manifests/init.pp
+ puppet/modules/apache/templates/vhost_django_app.conf
+
+Modified: puppet/modules/apache/manifests/init.pp
+===================================================================
+--- puppet/modules/apache/manifests/init.pp 2010-11-08 00:48:05 UTC (rev 200)
++++ puppet/modules/apache/manifests/init.pp 2010-11-08 01:12:49 UTC (rev 201)
+@@ -1,8 +1,5 @@
+ class apache {
+
+- $vhost_dir = &quot;/etc/httpd/conf/vhosts.d&quot;
+- $wsgi_dir = &quot;/usr/local/lib/wsgi&quot;
+-
+ class base {
+ package { &quot;apache-mpm-prefork&quot;:
+ alias =&gt; apache,
+@@ -62,7 +59,7 @@
+ ensure =&gt; installed
+ }
+
+- file { $wsgi_dir:
++ file { &quot;/usr/local/lib/wsgi&quot;:
+ ensure =&gt; directory,
+ owner =&gt; root,
+ group =&gt; root,
+@@ -72,7 +69,7 @@
+
+ define vhost_redirect_ssl() {
+ file { &quot;redirect_ssl_$name.conf&quot;:
+- path =&gt; &quot;$vhost_dir/redirect_ssl_$name.conf&quot;,
++ path =&gt; &quot;/etc/httpd/conf/vhosts.d/redirect_ssl_$name.conf&quot;,
+ ensure =&gt; &quot;present&quot;,
+ owner =&gt; root,
+ group =&gt; root,
+@@ -87,7 +84,7 @@
+ include apache::mod_fastcgi
+
+ file { &quot;$name.conf&quot;:
+- path =&gt; &quot;$vhost_dir/$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,
+@@ -101,7 +98,7 @@
+ include apache::mod_wsgi
+
+ file { &quot;$name.conf&quot;:
+- path =&gt; &quot;$vhost_dir/$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,
+@@ -112,7 +109,7 @@
+
+ # fichier django wsgi
+ file { &quot;$name.wsgi&quot;:
+- path =&gt; &quot;$wsgi_dir/$name.wsgi&quot;,
++ path =&gt; &quot;/usr/local/lib/wsgi/$name.wsgi&quot;,
+ ensure =&gt; &quot;present&quot;,
+ owner =&gt; root,
+ group =&gt; root,
+
+Modified: puppet/modules/apache/templates/vhost_django_app.conf
+===================================================================
+--- puppet/modules/apache/templates/vhost_django_app.conf 2010-11-08 00:48:05 UTC (rev 200)
++++ puppet/modules/apache/templates/vhost_django_app.conf 2010-11-08 01:12:49 UTC (rev 201)
+@@ -3,7 +3,7 @@
+ # Serve static content directly
+ DocumentRoot /dev/null
+
+- WSGIScriptAlias / &lt;%= wsgi_dir%&gt;/&lt;%= name %&gt;.wsgi
++ WSGIScriptAlias / /usr/local/lib/wsgi/&lt;%= name %&gt;.wsgi
+
+ &lt;Location /&gt;
+ Allow from all
+-------------- next part --------------
+An HTML attachment was scrubbed...
+URL: &lt;/pipermail/mageia-sysadm/attachments/20101108/4aec9ca7/attachment-0001.html&gt;
+</PRE>
+
+
+
+
+
+
+
+
+
+
+
+
+<!--endarticle-->
+ <HR>
+ <P><UL>
+ <!--threads-->
+ <LI>Previous message: <A HREF="000339.html">[Mageia-sysadm] puppet stopped on all nodes ?
+</A></li>
+ <LI>Next message: <A HREF="000341.html">[Mageia-sysadm] [202] - deploy the tagmail configuration file, so we get error on manifest application
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#340">[ date ]</a>
+ <a href="thread.html#340">[ thread ]</a>
+ <a href="subject.html#340">[ subject ]</a>
+ <a href="author.html#340">[ 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>