Gitweb: http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=1f2... Commit: 1f2194c131c4dc6a12c61e7e69b79e27309aa5d1 Parent: c8c6238a72125e1dbc62186fb246f8a0d5dc0a66 Author: Toure Dunnon tdunnon@redhat.com AuthorDate: Tue Jun 28 13:48:42 2011 -0400 Committer: Lon Hohberger lhh@redhat.com CommitterDate: Tue Jun 28 14:07:07 2011 -0400
fence_vmware_soap: Fix RHEL5-specific path issue
The other paths in the agents in the RHEL5 branch have /usr/lib/fence hardcoded; the cluster software's build environment in RHEL5 does not substitute @FENCEAGENTSLIBDIR@ like it does on later releases of Fedora and RHEL. Consequently, this patch is necessary to avoid an error from the agent due to being unable to locate the fencing.py module.
Resolves: rhbz#717372
Signed-off-by: Lon Hohberger lhh@redhat.com Tested-by: Toure Dunnon tdunnon@redhat.com --- fence/agents/vmware_soap/fence_vmware_soap.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/fence/agents/vmware_soap/fence_vmware_soap.py b/fence/agents/vmware_soap/fence_vmware_soap.py index 2718560..8008144 100644 --- a/fence/agents/vmware_soap/fence_vmware_soap.py +++ b/fence/agents/vmware_soap/fence_vmware_soap.py @@ -1,7 +1,7 @@ #!/usr/bin/python
import sys, re, pexpect, exceptions -sys.path.append("@FENCEAGENTSLIBDIR@") +sys.path.append("/usr/lib/fence")
from suds.client import Client from suds import WebFault
cluster-commits@lists.stg.fedorahosted.org