Skip to contentSkip to conversation

Cluster Project branch, RHEL4, updated. gfs-kernel_2_6_9_76-109-g231cd16

Cluster-devel [email protected] 1 participant 1 message Jul 16, 2008

lore
Share & tools
lore
#0 lore raw

This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Cluster Project".

http://sources.redhat.com/git/gitweb.cgi?p=cluster.git;a=commitdiff;h=231cd16350113d8aea47200c0d92a31d0691af7c

The branch, RHEL4 has been updated

       via  231cd16350113d8aea47200c0d92a31d0691af7c (commit)
       via  a21058eaa8f4290fab8c3bd8e53e90068d70b878 (commit)
       via  cd45c4414fcf0c78c9f1d746008b10e747bcbe85 (commit)
       via  f731c0474eaba0374518076a56cf3d1377427d6f (commit)
       via  96d24e6747156aa8dbeb9977e14a72c46a68aa98 (commit)
       via  15faca66f4ae5c14f50598f6ab250b9d964fce0f (commit)
       via  39172ebe93b39b5fa3f4525d67cdc78a9e904725 (commit)
       via  4f7070d58d3d7bd67f6985b30608aad2c3bf1223 (commit)
       via  390c1f7048fbfd3443f1d8c8a73781c089933edb (commit)
       via  7274ca8f1f8bc43b4d3183edf5d89ecd1d594778 (commit)
       via  54091dbea767a4e6d067bfb1a98edf1298d53365 (commit)
       via  14df64185852b8dbbb48016a683305c92810269d (commit)
       via  4344e2e0714ab5f5627c332f1640e23221f6186f (commit)
       via  945fb63d22af346849e6bfa2708bd385084ec6b6 (commit)
       via  680f7426e15836ae952452e82892dcac52356479 (commit)
       via  83e0a46d114eb71dc1b3649ea1cbb4e7542ba04c (commit)
       via  d136af691a96b218dc79df947cf5a5a7ab5293d8 (commit)
       via  af9098eb7d6f13c990b4df5cb462e6ad3279a078 (commit)
       via  0dda6d1cb413d5a464b307ef39920fe6fcfdd828 (commit)
       via  3500f29631ada488bb881fe7cbd7f1202d7defc6 (commit)
       via  8af5ef32d6066a463bc894a8eebb77e44ab2fcf1 (commit)
       via  e390f6fc77af4e1c262151ef76454a74eadac882 (commit)
      from  3ab00427e3eaf45e99d5f40fed6f3b459faccb14 (commit)

Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below.

- Log ----------------------------------------------------------------- commit 231cd16350113d8aea47200c0d92a31d0691af7c

Author: Fabio M. Di Nitto <[email protected]>
Date:   Mon May 26 10:22:35 2008 +0200

[BUILD] Add fence_lpar fencing agent to the build system

commit a21058eaa8f4290fab8c3bd8e53e90068d70b878

Author: Fabio M. Di Nitto <[email protected]>
Date:   Wed Jul 16 07:56:34 2008 +0200

[BUILD] Fix install of telnet_ssl

commit cd45c4414fcf0c78c9f1d746008b10e747bcbe85

Author: Fabio M. Di Nitto <[email protected]>
Date:   Thu Jul 3 06:01:04 2008 +0200

[BUILD] Fix telnet_ssl build

commit f731c0474eaba0374518076a56cf3d1377427d6f

Author: Fabio M. Di Nitto <[email protected]>
Date:   Thu Jul 3 05:46:11 2008 +0200

[BUILD] Fix install of telnet_ssl

commit 96d24e6747156aa8dbeb9977e14a72c46a68aa98

Author: Marek 'marx' Grac <[email protected]>
Date:   Wed Jul 2 15:55:48 2008 +0200

[FENCE] Bug #448822: fence_ilo doesn't work with iLO

New fencing agent for iLO used ssh/telnet to connect, but unfortutely there is a problem with power off. This is why we need to use SSL connection and RIBCL commands. As there is no (?) telnet with ssl connection in RHEL we need one to be able to use same infrastructure as in other agents. This agent was not tested with RIBCL version < 2.0 (these part where just ported from the old perl fencing agent)

@todo: we have to put telnet_ssl.py somewhere, I'm not sure where

commit 15faca66f4ae5c14f50598f6ab250b9d964fce0f

Author: Marek 'marx' Grac <[email protected]>
Date:   Wed Jun 4 15:54:49 2008 +0200

[FENCE] Fix: 447378: fence_apc unable to connect via ssh to APC 7900

Increased timeout from SHELL_TIMEOUT to LOGIN_TIMEOUT in login function.

commit 39172ebe93b39b5fa3f4525d67cdc78a9e904725

Author: Ryan McCabe <[email protected]>
Date:   Wed May 28 16:28:34 2008 -0400

fence: fixes and cleanups to fencing.py library

- Do not report failure if a node is successfully powered off, but fails to power on.

- Change 'pass' to 'continue' so that comments and blank lines from stdin are ignored.

- Use the full path to ssh and telnet when executing the binaries.

commit 4f7070d58d3d7bd67f6985b30608aad2c3bf1223

Author: Marek 'marx' Grac <[email protected]>
Date:   Mon Jun 2 16:15:50 2008 +0200

[FENCE] Fix #446995: Unknown option

Previous patch worked just for command line and there was a problem with stdin argument. Typo fixed.

commit 390c1f7048fbfd3443f1d8c8a73781c089933edb

Author: Marek 'marx' Grac <[email protected]>
Date:   Fri May 23 19:01:06 2008 +0200

[FENCE]: Fix #237266: New fence agent for HMC/LPAR

commit 7274ca8f1f8bc43b4d3183edf5d89ecd1d594778

Author: Marek 'marx' Grac <[email protected]>
Date:   Wed May 21 17:26:03 2008 +0200

[FENCE] Fix #447378 - fence_apc unable to connect via ssh to APC 7900

Problem was that even with ssh itself it was really painfull to log into this device (15 - 40 seconds). After specifying cipher and protocol we can login and check status in time comparable to others.

commit 54091dbea767a4e6d067bfb1a98edf1298d53365

Author: Fabio M. Di Nitto <[email protected]>
Date:   Tue May 20 12:41:22 2008 +0200

[BUILD] Fix fence agents generation

When switching from perl to python implementations we forgot to modify the version/copyright generators in the Makefile snippets.

This fixes BZ: #447432, #447434, #447437

commit 14df64185852b8dbbb48016a683305c92810269d

Author: Marek 'marx' Grac <[email protected]>
Date:   Tue May 20 11:11:23 2008 +0200

[FENCE] Fix #446995: Parse error: Unknown option 'switch=3'

Support for APC MasterSwitch was added (it worked in original fencing agent). Option 'switch' on STDIN didn't have a getopt alternative, so '-s <switch-id>' was added. Plug number notation <switch>:<plug> works as before. Original behaviour for missing switch number does not change. If there is just one MasterSwitch then we will set it up otherwise error is returned.

commit 4344e2e0714ab5f5627c332f1640e23221f6186f

Author: Marek 'marx' Grac <[email protected]>
Date:   Mon May 19 17:28:39 2008 +0200

[FENCE] Fix #248609: SSH support in Bladecenter fencing (ssh)

Complete ssh support for Bladecenter. You can use password or private key (identity_file on STDIN; -k in getopt) to login to system. This patch contains complete infrastructure (usable also by other agents).

commit 945fb63d22af346849e6bfa2708bd385084ec6b6

Author: Fabio M. Di Nitto <[email protected]>
Date:   Fri May 16 07:24:37 2008 +0200

[BUILD] Fix drac5 generation

commit 680f7426e15836ae952452e82892dcac52356479

Author: Marek 'marx' Grac <[email protected]>
Date:   Tue May 13 18:21:44 2008 +0200

[FENCE] Fix typo in name of the exceptions in fencing agents

Exceptions should be pexpect.EOF, pexpect.TIMEOUT (not pexcept.*). This problem only occured in set_status(). Function get_status() contains correct exceptions.

commit 83e0a46d114eb71dc1b3649ea1cbb4e7542ba04c

Author: Marek 'marx' Grac <[email protected]>
Date:   Tue May 13 17:26:56 2008 +0200

[FENCE] Fix problem with different menu for admin/user for APC

In APC user/admin can see a different menu and they have to use different sequence of keystrokes to access Outlet Controls. Previously only support for user was provided.

commit d136af691a96b218dc79df947cf5a5a7ab5293d8

Author: Marek 'marx' Grac <[email protected]>
Date:   Tue May 13 17:00:57 2008 +0200

[FENCE] Fix name of the option in fencing library

We were testing for option 'plug_no' but in every other file we have 'port'.

commit af9098eb7d6f13c990b4df5cb462e6ad3279a078

Author: Marek 'marx' Grac <[email protected]>
Date:   Tue May 6 16:50:00 2008 +0200

[FENCE] Fix #444615: Support for 24 port APC fencing device

Fixed in the new version of python fencing agent. But there was still a problem because there is major change of interface between firmware v2.7.x and v3.5.x. After this patch both types of firmware version should work.

commit 0dda6d1cb413d5a464b307ef39920fe6fcfdd828

Author: Marek 'marx' Grac <[email protected]>
Date:   Wed Apr 30 15:30:24 2008 +0200

[FENCE] SSH support using stdin options

STDIN options have to be name=value even if they are just boolean. These options are taken from cluster.conf so they have to be XML-like.
(cherry picked from commit ec62ff54c098e4942db8d74a33fddf5a18a2a03d)

commit 3500f29631ada488bb881fe7cbd7f1202d7defc6

Author: Fabio M. Di Nitto <[email protected]>
Date:   Mon Apr 28 13:13:45 2008 +0200

[BUILD] Fix fence/lib install target

commit 8af5ef32d6066a463bc894a8eebb77e44ab2fcf1

Author: Fabio M. Di Nitto <[email protected]>
Date:   Fri Apr 25 15:28:18 2008 +0200

[FENCE] Enable new fence agents by default

agents/Makefile:
- enable lib target.

agents/apc/fence_apc.py, bladecenter/fence_bladecenter.py, agents/drac/fence_drac5.py, agents/ilo/fence_ilo.py, agents/lib/fencing.py.py, agents/wti/fence_wti.py:
- add version, build and copyright information.
- fix path to fence agents lib.

agents/bladecenter/Makefile, fence/agents/drac/Makefile, agents/ilo/Makefile, agents/wti/Makefile:
- enable new agents.

bin/Makefile:
- install fence_drac5
- install/uninstall fence library

commit e390f6fc77af4e1c262151ef76454a74eadac882

Author: Marek 'marx' Grac <[email protected]>
Date:   Tue Apr 22 17:52:01 2008 +0200

fence/agents: New fencings agents

There are new fencing agents based on a new library. They need a 'pexpect' package. If it is possible there is support for both telnet and ssh.
In this patch there are agents for: APC, BladeCenter, Drac 5, ILo and WTI.

Fence agents that support ssh in 4.7 are iLO, DRAC5, WTI, APC, and BladeCenter

-----------------------------------------------------------------------

Summary of changes:

 fence/agents/Makefile                         |    6 +
 fence/agents/apc/fence_apc.py                 | 1002 +++++--------------------
 fence/agents/bladecenter/Makefile             |   10 +-
 fence/agents/bladecenter/fence_bladecenter.py |   90 +++
 fence/agents/drac/Makefile                    |   39 +-
 fence/agents/drac/fence_drac5.py              |   79 ++
 fence/agents/ilo/Makefile                     |    8 +-
 fence/agents/ilo/fence_ilo.py                 |  102 +++
 fence/agents/lib/Makefile                     |   48 ++
 fence/agents/lib/fencing.py.py                |  399 ++++++++++
 fence/agents/lib/telnet_ssl.py                |   72 ++
 fence/agents/lpar/Makefile                    |   35 +
 fence/agents/lpar/fence_lpar.py               |   97 +++
 fence/agents/wti/Makefile                     |    8 +-
 fence/agents/wti/fence_wti.py                 |  109 +++
 fence/bin/Makefile                            |   13 +-
 16 files changed, 1273 insertions(+), 844 deletions(-)
 mode change 100644 => 100755 fence/agents/apc/fence_apc.py
 create mode 100755 fence/agents/bladecenter/fence_bladecenter.py
 create mode 100755 fence/agents/drac/fence_drac5.py
 create mode 100755 fence/agents/ilo/fence_ilo.py
 create mode 100644 fence/agents/lib/Makefile
 create mode 100644 fence/agents/lib/fencing.py.py
 create mode 100755 fence/agents/lib/telnet_ssl.py
 create mode 100644 fence/agents/lpar/Makefile
 create mode 100755 fence/agents/lpar/fence_lpar.py
 create mode 100755 fence/agents/wti/fence_wti.py
fence/agents/Makefile +6 -0
index 8418016..940da98 100644
@@ -13,6 +13,7 @@
 
 
 all:
+	cd lib && ${MAKE} all
 	cd apc && ${MAKE} all
 	cd apc_snmp && ${MAKE} all
 	cd rsa && ${MAKE} all
@@ -27,6 +28,7 @@ all:
 	# cd ibmblade && ${MAKE} all
 	cd ilo && ${MAKE} all
 	cd ipmilan && ${MAKE} all
+	cd lpar && ${MAKE} all
 	cd manual && ${MAKE} all
 	cd mcdata && ${MAKE} all
 	# cd rackswitch && ${MAKE} all
@@ -40,6 +42,7 @@ all:
 	# cd zvm && ${MAKE} all
 
 copytobin:
+	cd lib && ${MAKE} copytobin
 	cd apc && ${MAKE} copytobin
 	cd apc_snmp && ${MAKE} copytobin
 	cd rsa && ${MAKE} copytobin
@@ -54,6 +57,7 @@ copytobin:
 	# cd ibmblade && ${MAKE} copytobin
 	cd ilo && ${MAKE} copytobin
 	cd ipmilan && ${MAKE} copytobin
+	cd lpar && ${MAKE} copytobin
 	cd manual && ${MAKE} copytobin
 	cd mcdata && ${MAKE} copytobin
 	# cd rackswitch && ${MAKE} copytobin
@@ -67,6 +71,7 @@ copytobin:
 	# cd zvm && ${MAKE} copytobin
 
 clean:
+	cd lib && ${MAKE} clean
 	cd apc && ${MAKE} clean
 	cd apc_snmp && ${MAKE} clean
 	cd rsa && ${MAKE} clean
@@ -81,6 +86,7 @@ clean:
 	# cd ibmblade && ${MAKE} clean
 	cd ilo && ${MAKE} clean
 	cd ipmilan && ${MAKE} clean
+	cd lpar && ${MAKE} clean
 	cd manual && ${MAKE} clean
 	cd mcdata && ${MAKE} clean
 	# cd rackswitch && ${MAKE} clean
fence/agents/apc/fence_apc.py +185 -817

1,017 lines not on this page · raw message

fence/agents/bladecenter/Makefile +5 -5
index 6bd15a8..5a617df 100644
@@ -11,7 +11,7 @@
 ###############################################################################
 ###############################################################################
 
-SOURCE= fence_bladecenter.pl
+SOURCE= fence_bladecenter.py
 TARGET= fence_bladecenter
 
 top_srcdir=../..
@@ -19,12 +19,12 @@ include ${top_srcdir}/make/defines.mk
 
 all: $(TARGET)
 
-fence_bladecenter: fence_bladecenter.pl
+fence_bladecenter: fence_bladecenter.py
 	: > $(TARGET)
 	awk "{print}(\$$1 ~ /#BEGIN_VERSION_GENERATION/){exit 0}" $(SOURCE) >> $(TARGET)
-	echo "\$$FENCE_RELEASE_NAME=\"${RELEASE}\";" >> $(TARGET)
-	${top_srcdir}/scripts/define2var ${top_srcdir}/config/copyright.cf perl REDHAT_COPYRIGHT >> $(TARGET)
-	echo "\$$BUILD_DATE=\"(built `date`)\";" >> $(TARGET)
+	echo "FENCE_RELEASE_NAME=\"${RELEASE}\";" >> $(TARGET)
+	${top_srcdir}/scripts/define2var ${top_srcdir}/config/copyright.cf sh REDHAT_COPYRIGHT >> $(TARGET)
+	echo "BUILD_DATE=\"(built `date`)\";" >> $(TARGET)
 	awk -v p=0 "(\$$1 ~ /#END_VERSION_GENERATION/){p = 1} {if(p==1)print}" $(SOURCE) >> $(TARGET)
 	chmod +x $(TARGET)
 
fence/agents/bladecenter/fence_bladecenter.py new file +90 -0

90 lines not on this page · raw message

fence/agents/drac/Makefile +26 -13
index 258f5ff..914d2c9 100644
@@ -11,25 +11,38 @@
 ###############################################################################
 ###############################################################################
 
-SOURCE= fence_drac.pl
-TARGET= fence_drac
+SOURCE1= fence_drac.pl
+TARGET1= fence_drac
+
+SOURCE2= fence_drac5.py
+TARGET2= fence_drac5
 
 top_srcdir=../..
 include ${top_srcdir}/make/defines.mk
 
-all: $(TARGET)
+all: $(TARGET1) $(TARGET2)
 
 fence_drac: fence_drac.pl
-	: > $(TARGET)
-	awk "{print}(\$$1 ~ /#BEGIN_VERSION_GENERATION/){exit 0}" $(SOURCE) >> $(TARGET)
-	echo "\$$FENCE_RELEASE_NAME=\"${RELEASE}\";" >> $(TARGET)
-	${top_srcdir}/scripts/define2var ${top_srcdir}/config/copyright.cf perl REDHAT_COPYRIGHT >> $(TARGET)
-	echo "\$$BUILD_DATE=\"(built `date`)\";" >> $(TARGET)
-	awk -v p=0 "(\$$1 ~ /#END_VERSION_GENERATION/){p = 1} {if(p==1)print}" $(SOURCE) >> $(TARGET)
-	chmod +x $(TARGET)
+	: > $(TARGET1)
+	awk "{print}(\$$1 ~ /#BEGIN_VERSION_GENERATION/){exit 0}" $(SOURCE1) >> $(TARGET1)
+	echo "\$$FENCE_RELEASE_NAME=\"${RELEASE}\";" >> $(TARGET1)
+	${top_srcdir}/scripts/define2var ${top_srcdir}/config/copyright.cf perl REDHAT_COPYRIGHT >> $(TARGET1)
+	echo "\$$BUILD_DATE=\"(built `date`)\";" >> $(TARGET1)
+	awk -v p=0 "(\$$1 ~ /#END_VERSION_GENERATION/){p = 1} {if(p==1)print}" $(SOURCE1) >> $(TARGET1)
+	chmod +x $(TARGET1)
+
+fence_drac5: fence_drac5.py
+	: > $(TARGET2)
+	awk "{print}(\$$1 ~ /#BEGIN_VERSION_GENERATION/){exit 0}" $(SOURCE2) >> $(TARGET2)
+	echo "FENCE_RELEASE_NAME=\"${RELEASE}\";" >> $(TARGET2)
+	${top_srcdir}/scripts/define2var ${top_srcdir}/config/copyright.cf sh REDHAT_COPYRIGHT >> $(TARGET2)
+	echo "BUILD_DATE=\"(built `date`)\";" >> $(TARGET2)
+	awk -v p=0 "(\$$1 ~ /#END_VERSION_GENERATION/){p = 1} {if(p==1)print}" $(SOURCE2) >> $(TARGET2)
+	chmod +x $(TARGET2)
 
-copytobin: ${TARGET}
-	cp ${TARGET} ${top_srcdir}/bin/${TARGET}
+copytobin: ${TARGET1} ${TARGET2}
+	cp ${TARGET1} ${top_srcdir}/bin/${TARGET1}
+	cp ${TARGET2} ${top_srcdir}/bin/${TARGET2}
 
 clean:
-	rm -f $(TARGET)
+	rm -f $(TARGET1) $(TARGET2)
fence/agents/drac/fence_drac5.py new file +79 -0

79 lines not on this page · raw message

fence/agents/ilo/Makefile +4 -4
index 4ea4299..794eb13 100644
@@ -11,7 +11,7 @@
 ###############################################################################
 ###############################################################################
 
-SOURCE= fence_ilo.pl
+SOURCE= fence_ilo.py
 TARGET= fence_ilo
 
 top_srcdir=../..
@@ -22,9 +22,9 @@ all: $(TARGET)
 fence_ilo: $(SOURCE)
 	: > $(TARGET)
 	awk "{print}(\$$1 ~ /#BEGIN_VERSION_GENERATION/){exit 0}" $(SOURCE) >> $(TARGET)
-	echo "\$$FENCE_RELEASE_NAME=\"${RELEASE}\";" >> $(TARGET)
-	${top_srcdir}/scripts/define2var ${top_srcdir}/config/copyright.cf perl REDHAT_COPYRIGHT >> $(TARGET)
-	echo "\$$BUILD_DATE=\"(built `date`)\";" >> $(TARGET)
+	echo "FENCE_RELEASE_NAME=\"${RELEASE}\";" >> $(TARGET)
+	${top_srcdir}/scripts/define2var ${top_srcdir}/config/copyright.cf sh REDHAT_COPYRIGHT >> $(TARGET)
+	echo "BUILD_DATE=\"(built `date`)\";" >> $(TARGET)
 	awk -v p=0 "(\$$1 ~ /#END_VERSION_GENERATION/){p = 1} {if(p==1)print}" $(SOURCE) >> $(TARGET)
 	chmod +x $(TARGET)
 
fence/agents/ilo/fence_ilo.py new file +102 -0

102 lines not on this page · raw message

fence/agents/lib/Makefile new file +48 -0

48 lines not on this page · raw message

fence/agents/lib/fencing.py.py new file +399 -0

399 lines not on this page · raw message

fence/agents/lib/telnet_ssl.py new file +72 -0

72 lines not on this page · raw message

fence/agents/lpar/Makefile new file +35 -0
new file mode 100644
index 0000000..2f5f88d
@@ -0,0 +1,35 @@
+###############################################################################
+###############################################################################
+##
+##  Copyright (C) Sistina Software, Inc.  1997-2003  All rights reserved.
+##  Copyright (C) 2004 Red Hat, Inc.  All rights reserved.
+##  
+##  This copyrighted material is made available to anyone wishing to use,
+##  modify, copy, or redistribute it subject to the terms and conditions
+##  of the GNU General Public License v.2.
+##
+###############################################################################
+###############################################################################
+
+SOURCE= fence_lpar.py
+TARGET= fence_lpar
+
+top_srcdir=../..
+include ${top_srcdir}/make/defines.mk
+
+all: $(TARGET)
+
+fence_lpar: fence_lpar.py
+	: > $(TARGET)
+	awk "{print}(\$$1 ~ /#BEGIN_VERSION_GENERATION/){exit 0}" $(SOURCE) >> $(TARGET)
+	echo "FENCE_RELEASE_NAME=\"${RELEASE}\";" >> $(TARGET)
+	${top_srcdir}/scripts/define2var ${top_srcdir}/config/copyright.cf sh REDHAT_COPYRIGHT >> $(TARGET)
+	echo "BUILD_DATE=\"(built `date`)\";" >> $(TARGET)
+	awk -v p=0 "(\$$1 ~ /#END_VERSION_GENERATION/){p = 1} {if(p==1)print}" $(SOURCE) >> $(TARGET)
+	chmod +x $(TARGET)
+
+copytobin: ${TARGET}
+	cp ${TARGET} ${top_srcdir}/bin/${TARGET}
+
+clean:
+	rm -f $(TARGET)
fence/agents/lpar/fence_lpar.py new file +97 -0

97 lines not on this page · raw message

fence/agents/wti/Makefile +4 -4
index 2a47d4b..50d6672 100644
@@ -11,7 +11,7 @@
 ###############################################################################
 ###############################################################################
 
-SOURCE= fence_wti.pl
+SOURCE= fence_wti.py
 TARGET= fence_wti
 
 top_srcdir=../..
@@ -22,9 +22,9 @@ all: $(TARGET)
 $(TARGET): $(SOURCE)
 	: > $(TARGET)
 	awk "{print}(\$$1 ~ /#BEGIN_VERSION_GENERATION/){exit 0}" $(SOURCE) >> $(TARGET)
-	echo "\$$FENCE_RELEASE_NAME=\"${RELEASE}\";" >> $(TARGET)
-	${top_srcdir}/scripts/define2var ${top_srcdir}/config/copyright.cf perl REDHAT_COPYRIGHT >> $(TARGET)
-	echo "\$$BUILD_DATE=\"(built `date`)\";" >> $(TARGET)
+	echo "FENCE_RELEASE_NAME=\"${RELEASE}\";" >> $(TARGET)
+	${top_srcdir}/scripts/define2var ${top_srcdir}/config/copyright.cf sh REDHAT_COPYRIGHT >> $(TARGET)
+	echo "BUILD_DATE=\"(built `date`)\";" >> $(TARGET)
 	awk -v p=0 "(\$$1 ~ /#END_VERSION_GENERATION/){p = 1} {if(p==1)print}" $(SOURCE) >> $(TARGET)
 	chmod +x $(TARGET)
 
fence/agents/wti/fence_wti.py new file +109 -0

109 lines not on this page · raw message

fence/bin/Makefile +12 -1
index 68bf9a7..e611ad2 100644
@@ -25,6 +25,7 @@ SBINPROGS= \
 	fence_baytech \
 	fence_brocade \
 	fence_drac \
+	fence_drac5 \
 	fence_egenera \
 	fence_ilo \
 	fence_manual \
@@ -37,6 +38,7 @@ SBINPROGS= \
 	fence_rps10 \
 	fence_bullpap \
 	fence_ipmilan \
+	fence_lpar \
 	fence_xvm \
 	fence_scsi \
 	fence_scsi_test \
@@ -46,6 +48,8 @@ SHAREPROGS = \
 	     powernet369.mib \
 	     README_SNMP
 
+FENCEPYLIB = \
+	     fencing.py
 
 include ${top_srcdir}/make/defines.mk
 
@@ -70,7 +74,14 @@ install: all
 	for v in ${SHAREPROGS}; do \
 		install -m644 $${v} ${sharedir}; \
 	done
+	if [ ! -d ${DESTDIR}/usr/lib/fence ]; then \
+		install -d ${DESTDIR}/usr/lib/fence; \
+	fi
+	for v in ${FENCEPYLIB}; do \
+		install -m644 $${v} ${DESTDIR}/usr/lib/fence; \
+	done
+	install -m755 telnet_ssl ${DESTDIR}/usr/lib/fence
 
 uninstall:
 	${UNINSTALL} ${SBINPROGS} ${sbindir}
-
+	${UNINSTALL} ${FENCEPYLIB} telnet_ssl ${DESTDIR}/usr/lib/fence

hooks/post-receive
--
Cluster Project