Send Linux-ha-cvs mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.community.tummy.com/mailman/listinfo/linux-ha-cvs
or, via email, send a message with subject or body 'help' to
[EMAIL PROTECTED]
You can reach the person managing the list at
[EMAIL PROTECTED]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Linux-ha-cvs digest..."
Today's Topics:
1. Linux-HA CVS: resources by andrew from
([email protected])
2. Linux-HA CVS: resources by andrew from
([email protected])
3. Linux-HA CVS: resources by lars from
([email protected])
----------------------------------------------------------------------
Message: 1
Date: Mon, 24 Apr 2006 08:46:16 -0600 (MDT)
From: [email protected]
Subject: [Linux-ha-cvs] Linux-HA CVS: resources by andrew from
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
linux-ha CVS committal
Author : andrew
Host :
Project : linux-ha
Module : resources
Dir : linux-ha/resources/OCF
Modified Files:
ocf-shellfuncs.in
Log Message:
Set OCF_CHECK_LEVEL correctly
===================================================================
RCS file: /home/cvs/linux-ha/linux-ha/resources/OCF/ocf-shellfuncs.in,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -3 -r1.27 -r1.28
--- ocf-shellfuncs.in 11 Mar 2006 04:02:58 -0000 1.27
+++ ocf-shellfuncs.in 24 Apr 2006 14:46:15 -0000 1.28
@@ -1,5 +1,5 @@
#
-# $Id: ocf-shellfuncs.in,v 1.27 2006/03/11 04:02:58 xunsun Exp $
+# $Id: ocf-shellfuncs.in,v 1.28 2006/04/24 14:46:15 andrew Exp $
#
# Common helper functions for the OCF Resource Agents supplied by
# heartbeat.
@@ -131,10 +131,11 @@
OCF_RUNNING_MASTER=8
OCF_FAILED_MASTER=9
- OCF_CHECK_LEVEL=0
# Strip the OCF_RESKEY_ prefix from this particular parameter
if [ -z "$OCF_RESKEY_OCF_CHECK_LEVEL" ]; then
: ${OCF_CHECK_LEVEL:=$OCF_RESKEY_OCF_CHECK_LEVEL}
+ else
+ OCF_CHECK_LEVEL=0
fi
if [ -z "$OCF_ROOT" ]; then
------------------------------
Message: 2
Date: Mon, 24 Apr 2006 08:57:01 -0600 (MDT)
From: [email protected]
Subject: [Linux-ha-cvs] Linux-HA CVS: resources by andrew from
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
linux-ha CVS committal
Author : andrew
Host :
Project : linux-ha
Module : resources
Dir : linux-ha/resources/OCF
Modified Files:
ocf-shellfuncs.in
Log Message:
got the condition reversed - thanks lmb
===================================================================
RCS file: /home/cvs/linux-ha/linux-ha/resources/OCF/ocf-shellfuncs.in,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -3 -r1.28 -r1.29
--- ocf-shellfuncs.in 24 Apr 2006 14:46:15 -0000 1.28
+++ ocf-shellfuncs.in 24 Apr 2006 14:57:00 -0000 1.29
@@ -1,5 +1,5 @@
#
-# $Id: ocf-shellfuncs.in,v 1.28 2006/04/24 14:46:15 andrew Exp $
+# $Id: ocf-shellfuncs.in,v 1.29 2006/04/24 14:57:00 andrew Exp $
#
# Common helper functions for the OCF Resource Agents supplied by
# heartbeat.
@@ -133,9 +133,9 @@
# Strip the OCF_RESKEY_ prefix from this particular parameter
if [ -z "$OCF_RESKEY_OCF_CHECK_LEVEL" ]; then
- : ${OCF_CHECK_LEVEL:=$OCF_RESKEY_OCF_CHECK_LEVEL}
- else
OCF_CHECK_LEVEL=0
+ else
+ : ${OCF_CHECK_LEVEL:=$OCF_RESKEY_OCF_CHECK_LEVEL}
fi
if [ -z "$OCF_ROOT" ]; then
------------------------------
Message: 3
Date: Mon, 24 Apr 2006 09:28:38 -0600 (MDT)
From: [email protected]
Subject: [Linux-ha-cvs] Linux-HA CVS: resources by lars from
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
linux-ha CVS committal
Author : lars
Host :
Project : linux-ha
Module : resources
Dir : linux-ha/resources/OCF
Modified Files:
ocf-shellfuncs.in
Log Message:
... and don't overwrite it with some bogus value if it was set
correctly.
===================================================================
RCS file: /home/cvs/linux-ha/linux-ha/resources/OCF/ocf-shellfuncs.in,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -3 -r1.29 -r1.30
--- ocf-shellfuncs.in 24 Apr 2006 14:57:00 -0000 1.29
+++ ocf-shellfuncs.in 24 Apr 2006 15:28:38 -0000 1.30
@@ -1,5 +1,5 @@
#
-# $Id: ocf-shellfuncs.in,v 1.29 2006/04/24 14:57:00 andrew Exp $
+# $Id: ocf-shellfuncs.in,v 1.30 2006/04/24 15:28:38 lars Exp $
#
# Common helper functions for the OCF Resource Agents supplied by
# heartbeat.
@@ -133,7 +133,7 @@
# Strip the OCF_RESKEY_ prefix from this particular parameter
if [ -z "$OCF_RESKEY_OCF_CHECK_LEVEL" ]; then
- OCF_CHECK_LEVEL=0
+ : ${OCF_CHECK_LEVEL:=0}
else
: ${OCF_CHECK_LEVEL:=$OCF_RESKEY_OCF_CHECK_LEVEL}
fi
------------------------------
_______________________________________________
Linux-ha-cvs mailing list
[email protected]
http://lists.community.tummy.com/mailman/listinfo/linux-ha-cvs
End of Linux-ha-cvs Digest, Vol 29, Issue 127
*********************************************