diff -urN fence-agents-4.0.11/fence/agents/scsi/fence_scsi.py fence-agents-4.0.11.scsi/fence/agents/scsi/fence_scsi.py
--- fence-agents-4.0.11/fence/agents/scsi/fence_scsi.py 2014-08-06 09:35:09.000000000 +0200
+++ fence-agents-4.0.11.scsi/fence/agents/scsi/fence_scsi.py 2014-09-03 13:00:37.000000000 +0200
@@ -387,7 +387,7 @@
all_opt["delay"]["getopt"] = "H:"
#fence_scsi_check
- if os.path.basename(sys.argv[0]) == "fence_scsi_check":
+ if os.path.basename(sys.argv[0]) == "fence_scsi_check.pl":
sys.exit(scsi_check())
options = check_input(device_opt, process_input(device_opt))
diff -urN fence-agents-4.0.11/fence/agents/scsi/Makefile.am fence-agents-4.0.11.scsi/fence/agents/scsi/Makefile.am
--- fence-agents-4.0.11/fence/agents/scsi/Makefile.am 2014-08-27 15:32:14.000000000 +0200
+++ fence-agents-4.0.11.scsi/fence/agents/scsi/Makefile.am 2014-09-03 13:10:22.000000000 +0200
@@ -4,10 +4,10 @@
SRC = $(TARGET).py
-EXTRA_DIST = $(SRC)
+EXTRA_DIST = $(SRC)
scsidatadir = $(CLUSTERDATA)
-scsidata_SCRIPTS = fence_scsi_check
+scsidata_SCRIPTS = fence_scsi_check.pl
sbin_SCRIPTS = $(TARGET)
@@ -15,7 +15,7 @@
FENCE_TEST_ARGS = -k 1
-fence_scsi_check: $(TARGET)
+fence_scsi_check.pl: $(TARGET)
cp $^ $@
include $(top_srcdir)/make/fencebuild.mk
@@ -23,4 +23,4 @@
include $(top_srcdir)/make/agentpycheck.mk
clean-local: clean-man
- rm -f $(TARGET) $(SYMTARGET) fence_scsi_check
+ rm -f $(TARGET) $(SYMTARGET) fence_scsi_check.pl
diff -urN fence-agents-4.0.11/fence/agents/scsi/Makefile.in fence-agents-4.0.11.scsi/fence/agents/scsi/Makefile.in
--- fence-agents-4.0.11/fence/agents/scsi/Makefile.in 2014-08-27 15:52:24.000000000 +0200
+++ fence-agents-4.0.11.scsi/fence/agents/scsi/Makefile.in 2014-09-03 13:10:37.000000000 +0200
@@ -285,9 +285,9 @@
MAINTAINERCLEANFILES = Makefile.in
TARGET = fence_scsi
SRC = $(TARGET).py
-EXTRA_DIST = $(SRC)
+EXTRA_DIST = $(SRC)
scsidatadir = $(CLUSTERDATA)
-scsidata_SCRIPTS = fence_scsi_check
+scsidata_SCRIPTS = fence_scsi_check.pl
sbin_SCRIPTS = $(TARGET)
man_MANS = $(TARGET).8
FENCE_TEST_ARGS = -k 1
@@ -607,7 +607,7 @@
uninstall-sbinSCRIPTS uninstall-scsidataSCRIPTS
-fence_scsi_check: $(TARGET)
+fence_scsi_check.pl: $(TARGET)
cp $^ $@
$(TARGET): $(SRC)
bash $(top_srcdir)/scripts/fenceparse \
@@ -664,7 +664,7 @@
python ./$(INPUT) --delay 0 $(FENCE_TEST_ARGS) --
clean-local: clean-man
- rm -f $(TARGET) $(SYMTARGET) fence_scsi_check
+ rm -f $(TARGET) $(SYMTARGET) fence_scsi_check.pl
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.