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

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