fence-agents: master - fence_ipmilan: auth type should not have default

Marek GrĂ¡c marx at fedoraproject.org
Wed Jan 8 16:45:18 UTC 2014


Gitweb:        http://git.fedorahosted.org/git/?p=fence-agents.git;a=commitdiff;h=84f98fa327e0167f617a9f57afb1473e76422ed0
Commit:        84f98fa327e0167f617a9f57afb1473e76422ed0
Parent:        a709de06cd8f810b653613b07fba6fc13fc0fdf2
Author:        Marek 'marx' Grac <mgrac at redhat.com>
AuthorDate:    Wed Jan 8 17:43:12 2014 +0100
Committer:     Marek 'marx' Grac <mgrac at redhat.com>
CommitterDate: Wed Jan 8 17:43:12 2014 +0100

fence_ipmilan: auth type should not have default

When auth type has a default value set to 'none' then autodetect of auth type is not
done. If user want to user password, he had to enter -A password, with this patch this is
not necessary (as in previous C-based implementation)
---
 fence/agents/ipmilan/fence_ipmilan.py |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/fence/agents/ipmilan/fence_ipmilan.py b/fence/agents/ipmilan/fence_ipmilan.py
index f711312..7b50772 100644
--- a/fence/agents/ipmilan/fence_ipmilan.py
+++ b/fence/agents/ipmilan/fence_ipmilan.py
@@ -127,7 +127,6 @@ def define_new_opts():
         "help" : "-A, --auth=[auth]              IPMI Lan Auth type (md5|password|none)",
         "required" : "0",
         "shortdesc" : "IPMI Lan Auth type.",
-        "default" : "none",
         "choices" : ["md5", "password", "none"],
         "order": 1
         }


More information about the cluster-commits mailing list