Blame SOURCES/bz1275250-fence_ipmilan-fix-power_wait-regression.patch

e4ffb1
diff -uNr a/fence/agents/ipmilan/fence_ipmilan.py b/fence/agents/ipmilan/fence_ipmilan.py
e4ffb1
--- a/fence/agents/ipmilan/fence_ipmilan.py	2016-05-25 12:09:14.065548692 +0200
e4ffb1
+++ b/fence/agents/ipmilan/fence_ipmilan.py	2016-05-25 12:11:29.626136708 +0200
e4ffb1
@@ -142,6 +142,7 @@
e4ffb1
 		"obsolete_ip", "timeout"]
e4ffb1
 	define_new_opts()
e4ffb1
 
e4ffb1
+	all_opt["power_wait"]["default"] = 2
e4ffb1
 	if os.path.basename(sys.argv[0]) == "fence_ilo3":
e4ffb1
 		all_opt["power_wait"]["default"] = "4"
e4ffb1
 		all_opt["method"]["default"] = "cycle"
e4ffb1
diff -uNr a/tests/data/metadata/fence_idrac.xml b/tests/data/metadata/fence_idrac.xml
e4ffb1
--- a/tests/data/metadata/fence_idrac.xml	2016-05-25 12:09:14.062548723 +0200
e4ffb1
+++ b/tests/data/metadata/fence_idrac.xml	2016-05-25 12:11:29.627136697 +0200
e4ffb1
@@ -116,7 +116,7 @@
e4ffb1
 	</parameter>
e4ffb1
 	<parameter name="power_wait" unique="0" required="0">
e4ffb1
 		<getopt mixed="--power-wait=[seconds]" />
e4ffb1
-		<content type="string" default="0"  />
e4ffb1
+		<content type="string" default="2"  />
e4ffb1
 		<shortdesc lang="en">Wait X seconds after issuing ON/OFF</shortdesc>
e4ffb1
 	</parameter>
e4ffb1
 	<parameter name="login_timeout" unique="0" required="0">
e4ffb1
diff -uNr a/tests/data/metadata/fence_ilo4.xml b/tests/data/metadata/fence_ilo4.xml
e4ffb1
--- a/tests/data/metadata/fence_ilo4.xml	2016-05-25 12:09:14.063548713 +0200
e4ffb1
+++ b/tests/data/metadata/fence_ilo4.xml	2016-05-25 12:11:29.627136697 +0200
e4ffb1
@@ -116,7 +116,7 @@
e4ffb1
 	</parameter>
e4ffb1
 	<parameter name="power_wait" unique="0" required="0">
e4ffb1
 		<getopt mixed="--power-wait=[seconds]" />
e4ffb1
-		<content type="string" default="0"  />
e4ffb1
+		<content type="string" default="2"  />
e4ffb1
 		<shortdesc lang="en">Wait X seconds after issuing ON/OFF</shortdesc>
e4ffb1
 	</parameter>
e4ffb1
 	<parameter name="login_timeout" unique="0" required="0">
e4ffb1
diff -uNr a/tests/data/metadata/fence_imm.xml b/tests/data/metadata/fence_imm.xml
e4ffb1
--- a/tests/data/metadata/fence_imm.xml	2016-05-25 12:09:14.063548713 +0200
e4ffb1
+++ b/tests/data/metadata/fence_imm.xml	2016-05-25 12:11:29.627136697 +0200
e4ffb1
@@ -116,7 +116,7 @@
e4ffb1
 	</parameter>
e4ffb1
 	<parameter name="power_wait" unique="0" required="0">
e4ffb1
 		<getopt mixed="--power-wait=[seconds]" />
e4ffb1
-		<content type="string" default="0"  />
e4ffb1
+		<content type="string" default="2"  />
e4ffb1
 		<shortdesc lang="en">Wait X seconds after issuing ON/OFF</shortdesc>
e4ffb1
 	</parameter>
e4ffb1
 	<parameter name="login_timeout" unique="0" required="0">
e4ffb1
diff -uNr a/tests/data/metadata/fence_ipmilan.xml b/tests/data/metadata/fence_ipmilan.xml
e4ffb1
--- a/tests/data/metadata/fence_ipmilan.xml	2016-05-25 12:09:14.063548713 +0200
e4ffb1
+++ b/tests/data/metadata/fence_ipmilan.xml	2016-05-25 12:11:29.627136697 +0200
e4ffb1
@@ -116,7 +116,7 @@
e4ffb1
 	</parameter>
e4ffb1
 	<parameter name="power_wait" unique="0" required="0">
e4ffb1
 		<getopt mixed="--power-wait=[seconds]" />
e4ffb1
-		<content type="string" default="0"  />
e4ffb1
+		<content type="string" default="2"  />
e4ffb1
 		<shortdesc lang="en">Wait X seconds after issuing ON/OFF</shortdesc>
e4ffb1
 	</parameter>
e4ffb1
 	<parameter name="login_timeout" unique="0" required="0">