From 1be510f9529cb082f802408b472a77d074b394c0 Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Sun, 14 Apr 2013 13:46:12 +0000 Subject: Add zarb MLs html archives --- zarb-ml/mageia-sysadm/2010-November/000975.html | 130 ++++++++++++++++++++++++ 1 file changed, 130 insertions(+) create mode 100644 zarb-ml/mageia-sysadm/2010-November/000975.html (limited to 'zarb-ml/mageia-sysadm/2010-November/000975.html') diff --git a/zarb-ml/mageia-sysadm/2010-November/000975.html b/zarb-ml/mageia-sysadm/2010-November/000975.html new file mode 100644 index 000000000..0947981b4 --- /dev/null +++ b/zarb-ml/mageia-sysadm/2010-November/000975.html @@ -0,0 +1,130 @@ + + + + [Mageia-sysadm] [481] Fix the check on wget if server is down (thanks to rtp) + + + + + + + + + +

[Mageia-sysadm] [481] Fix the check on wget if server is down (thanks to rtp)

+ root at mageia.org + root at mageia.org +
+ Fri Nov 26 17:57:31 CET 2010 +

+
+ +
Revision: 481
+Author:   dams
+Date:     2010-11-26 17:57:31 +0100 (Fri, 26 Nov 2010)
+Log Message:
+-----------
+Fix the check on wget if server is down (thanks to rtp)
+
+Modified Paths:
+--------------
+    puppet/modules/blog/manifests/init.pp
+    puppet/modules/blog/templates/check_new-blog-post.sh
+
+Added Paths:
+-----------
+    puppet/modules/blog/templates/.htaccess
+
+Modified: puppet/modules/blog/manifests/init.pp
+===================================================================
+--- puppet/modules/blog/manifests/init.pp	2010-11-26 15:36:45 UTC (rev 480)
++++ puppet/modules/blog/manifests/init.pp	2010-11-26 16:57:31 UTC (rev 481)
+@@ -5,13 +5,13 @@
+         	ensure => installed
+     	}
+ 
+-        package { 'wget':
++        package { 'php-mysql':
+                 ensure => installed
+         }
+ 
+     include apache::mod_php
+ 
+-    	package { 'php-mysql':
++    	package { 'wget':
+         	ensure => installed
+     	}
+ 
+
+Added: puppet/modules/blog/templates/.htaccess
+===================================================================
+--- puppet/modules/blog/templates/.htaccess	                        (rev 0)
++++ puppet/modules/blog/templates/.htaccess	2010-11-26 16:57:31 UTC (rev 481)
+@@ -0,0 +1,10 @@
++# BEGIN WordPress
++<IfModule mod_rewrite.c>
++RewriteEngine On
++RewriteBase /
++RewriteCond %{REQUEST_FILENAME} !-f
++RewriteCond %{REQUEST_FILENAME} !-d
++RewriteRule . /index.php [L]
++</IfModule>
++
++# END WordPress
+
+Modified: puppet/modules/blog/templates/check_new-blog-post.sh
+===================================================================
+--- puppet/modules/blog/templates/check_new-blog-post.sh	2010-11-26 15:36:45 UTC (rev 480)
++++ puppet/modules/blog/templates/check_new-blog-post.sh	2010-11-26 16:57:31 UTC (rev 481)
+@@ -3,7 +3,7 @@
+ # Initialization
+ PATH_TO_FILE=${PATH_TO_FILE:-/var/lib/blog}
+ /usr/bin/wget -qO $PATH_TO_FILE"/RSS_new" http://blog.mageia.org/?feed=rss2
+-if [ -n $? ] 
++if [ $? -ne 0 ] 
+ then
+         exit 2
+ fi
+-------------- next part --------------
+An HTML attachment was scrubbed...
+URL: </pipermail/mageia-sysadm/attachments/20101126/eaf9e3ab/attachment.html>
+
+ + + + + + + + +
+

+ +
+More information about the Mageia-sysadm +mailing list
+ -- cgit v1.2.1