Send Linux-ha-cvs mailing list submissions to linux-ha-cvs@lists.linux-ha.org
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: linux-ha by alan from (linux-ha-cvs@lists.linux-ha.org) 2. Linux-HA CVS: resources by alan from (linux-ha-cvs@lists.linux-ha.org) ---------------------------------------------------------------------- Message: 1 Date: Fri, 14 Jul 2006 14:21:09 -0600 (MDT) From: linux-ha-cvs@lists.linux-ha.org Subject: [Linux-ha-cvs] Linux-HA CVS: linux-ha by alan from To: [EMAIL PROTECTED] Message-ID: <[EMAIL PROTECTED]> linux-ha CVS committal Author : alan Host : Module : linux-ha Dir : linux-ha Modified Files: heartbeat.spec.in Log Message: Applied a patch from Serge Dubrouski to remove a hard-coded pathname. =================================================================== RCS file: /home/cvs/linux-ha/linux-ha/heartbeat.spec.in,v retrieving revision 1.188 retrieving revision 1.189 diff -u -3 -r1.188 -r1.189 --- heartbeat.spec.in 13 Jul 2006 16:32:18 -0000 1.188 +++ heartbeat.spec.in 14 Jul 2006 20:21:09 -0000 1.189 @@ -1,4 +1,4 @@ -# $Id: heartbeat.spec.in,v 1.188 2006/07/13 16:32:18 alan Exp $ +# $Id: heartbeat.spec.in,v 1.189 2006/07/14 20:21:09 alan Exp $ %define _unpackaged_files_terminate_build 1 %define _missing_doc_files_terminate_build 1 @@ -1356,7 +1356,7 @@ @libdir@/libhbmgmttls.* /etc/pam.d/hbmgmtd @bindir@/hb_gui - /usr/share/locale/zh_CN/LC_MESSAGES/haclient.mo + @prefix@/share/locale/zh_CN/LC_MESSAGES/haclient.mo %endif ########################################################### ------------------------------ Message: 2 Date: Fri, 14 Jul 2006 14:38:15 -0600 (MDT) From: linux-ha-cvs@lists.linux-ha.org Subject: [Linux-ha-cvs] Linux-HA CVS: resources by alan from To: [EMAIL PROTECTED] Message-ID: <[EMAIL PROTECTED]> linux-ha CVS committal Author : alan Host : Project : linux-ha Module : resources Dir : linux-ha/resources/OCF Modified Files: pgsql.in Log Message: Small fix from Serge Dubrouski <[EMAIL PROTECTED]> for one annoying problem when PostgreSQL isn't installed on a box and one tries to run the script. =================================================================== RCS file: /home/cvs/linux-ha/linux-ha/resources/OCF/pgsql.in,v retrieving revision 1.1 retrieving revision 1.2 diff -u -3 -r1.1 -r1.2 --- pgsql.in 13 Jul 2006 16:25:32 -0000 1.1 +++ pgsql.in 14 Jul 2006 20:38:15 -0000 1.2 @@ -4,7 +4,8 @@ # resource under Heartbeat/LinuxHA control # # -# Author: Serge Dubrouski +# Author: Serge Dubrouski ([EMAIL PROTECTED]) +# Copyright 2006 Serge Dubrouski <[EMAIL PROTECTED]> # License: GNU General Public License (GPL) # # OCF parameters: @@ -262,6 +263,14 @@ PGDB=${OCF_RESKEY_pgdb:-template1} PIDFILE=${PGDATA}/postmaster.pid +case "$1" in + methods) pgsql_methods + exit $?;; + + meta_data) meta_data + exit $OCF_SUCCESS;; +esac + if [ ! -x $PGCTL ] then ocf_log err "Can't run $PGCTL" @@ -294,12 +303,6 @@ monitor) pgsql_monitor exit $?;; - - methods) pgsql_methods - exit $?;; - - meta_data) meta_data - exit $OCF_SUCCESS;; esac usage ------------------------------ _______________________________________________ Linux-ha-cvs mailing list Linux-ha-cvs@lists.linux-ha.org http://lists.community.tummy.com/mailman/listinfo/linux-ha-cvs End of Linux-ha-cvs Digest, Vol 32, Issue 47 ********************************************