cluster: RHEL56 - resource-agents: RA for psql does not work correctly with netmask
Marek Grác
marx at fedoraproject.org
Wed Jul 21 12:08:35 UTC 2010
Gitweb: http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=4caa7ad6e263f685312a7b6b4d26b49ce42ab9fe
Commit: 4caa7ad6e263f685312a7b6b4d26b49ce42ab9fe
Parent: 7550248d30fd9cb00a808b365c5f6a66667d2480
Author: Marek 'marx' Grac <mgrac at redhat.com>
AuthorDate: Wed Jul 14 15:40:01 2010 +0200
Committer: Marek 'marx' Grac <mgrac at redhat.com>
CommitterDate: Wed Jul 21 14:06:33 2010 +0200
resource-agents: RA for psql does not work correctly with netmask
Patch proposed by Hirotaka Igarashi <hiro at csrl.jp>
Resolves: rhbz#614456
---
rgmanager/src/resources/postgres-8.sh | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/rgmanager/src/resources/postgres-8.sh b/rgmanager/src/resources/postgres-8.sh
index bfc3d59..45c9936 100755
--- a/rgmanager/src/resources/postgres-8.sh
+++ b/rgmanager/src/resources/postgres-8.sh
@@ -93,6 +93,7 @@ generate_config_file()
declare x=1
for i in $ip_addressess; do
+ i=`echo $i | sed -e 's/\/.*$//'`
if [ $x -eq 1 ]; then
x=0
ip_comma=$i
More information about the cluster-commits
mailing list