cluster: RHEL6 - resource-agents: RA for psql does not work correctly with netmask
Marek Grác
marx at fedoraproject.org
Wed Jul 21 21:07:08 UTC 2010
Gitweb: http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=6314b03d2657cae368787b9269af2fdcda08f871
Commit: 6314b03d2657cae368787b9269af2fdcda08f871
Parent: dc30d915f9d676ce9df02006ef490cd64425d9d0
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 23:05:37 2010 +0200
resource-agents: RA for psql does not work correctly with netmask
Patch proposed by Hirotaka Igarashi <hiro at csrl.jp>
Resolves: rhbz#614457
---
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 689c6e2..b0b59c7 100644
--- a/rgmanager/src/resources/postgres-8.sh
+++ b/rgmanager/src/resources/postgres-8.sh
@@ -71,6 +71,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