fence-agents: master - fence_drac5: Fix 'list' operation

Marek GrĂ¡c marx at fedoraproject.org
Tue Jan 29 14:33:41 UTC 2013


Gitweb:        http://git.fedorahosted.org/git/?p=fence-agents.git;a=commitdiff;h=f450d953656d61f609d8874f515e9d4c48308d4b
Commit:        f450d953656d61f609d8874f515e9d4c48308d4b
Parent:        4bd62484e17cc63b27a103c744ec11fb00610b48
Author:        Marek 'marx' Grac <mgrac at redhat.com>
AuthorDate:    Tue Jan 29 15:32:22 2013 +0100
Committer:     Marek 'marx' Grac <mgrac at redhat.com>
CommitterDate: Tue Jan 29 15:32:22 2013 +0100

fence_drac5: Fix 'list' operation

Device option 'separator' is set automatically when 'port' occurs but currently drac5 do not
use 'port / -n' but 'module_name / -m'.
---
 fence/agents/lib/fencing.py.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/fence/agents/lib/fencing.py.py b/fence/agents/lib/fencing.py.py
index 6a5fd0b..12e7be3 100644
--- a/fence/agents/lib/fencing.py.py
+++ b/fence/agents/lib/fencing.py.py
@@ -381,6 +381,7 @@ DEPENDENCY_OPT = {
 		"secure" : [ "identity_file", "ssh_options" ],
 		"ipaddr" : [ "inet4_only", "inet6_only" ],
 		"port" : [ "separator" ],
+		"module_name" : [ "separator" ],
 		"community" : [ "snmp_auth_prot", "snmp_sec_level", "snmp_priv_prot", \
 			"snmp_priv_passwd", "snmp_priv_passwd_script" ]
 	}


More information about the cluster-commits mailing list