Skip to contentSkip to conversation

Cluster Project branch, STABLE2, updated. cluster-2.03.01-35-ga1c4508

Cluster-devel [email protected] 1 participant 1 message Apr 25, 2008 Kbuild

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=a1c4508cc0f8fbad39e3769f9e812d773dc43010

The branch, STABLE2 has been updated

       via  a1c4508cc0f8fbad39e3769f9e812d773dc43010 (commit)
       via  40500d1308b4d5c25adc61127cb08e29428ff7fc (commit)
       via  c6f398d6a7f562f72c9f87369780a6ed09a4fc94 (commit)
       via  3dbb69dde3e1c5ec59ef9eb0077bb026a1c906bf (commit)
       via  ca31f682c99033a4b200896bc02ee31766c8fbb4 (commit)
       via  41bf99b6a7c5f612e2e35417cfb81f62b25f12d7 (commit)
       via  9957de81e2216225bb15e2810487345221f86769 (commit)
       via  a7c08962a5dd4c0893e01794dcd5014deb0e9c9e (commit)
       via  7793a1dcdb25e29d91858d8fb03ecb4b672ef438 (commit)
       via  2910f3ccbfbfd01bad004613670ba225ad04281e (commit)
       via  0241887d15738cd59b5374420d908a4d5ce38001 (commit)
       via  9e4b66772171683279ad3682780d09920e6e15f8 (commit)
       via  4771a07ee7e9c1efcb58753d863404b6a3a1ba24 (commit)
       via  d8b58867e89df7bff358a4d3e70d219c512dd1b6 (commit)
       via  565f473b3e4809ed252f18afb7d6a1ac2a479092 (commit)
       via  9f32ca6ee209beef889a437b1b931459f6aa17d8 (commit)
       via  7b15cdeaeef5d2816e2bb7e6bab76f98d077915d (commit)
       via  4b6835f18045883df3c742478b6ed8112f6b627e (commit)
       via  0c0948b5a078ac298446bc6f1795256416de865b (commit)
       via  08d5fe761dacb819c8f44e4044f2714fc74f9a50 (commit)
       via  e55866e9e0011ce8b319e3cd17d1ddbf587bcaf6 (commit)
      from  523acee2a3aa7340acc04a28e43164f090b615df (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 a1c4508cc0f8fbad39e3769f9e812d773dc43010

Author: Fabio M. Di Nitto <[email protected]>
Date:   Fri Apr 25 11:10:17 2008 +0200

[BUILD] Fix fence lib install target

commit 40500d1308b4d5c25adc61127cb08e29428ff7fc

Author: Fabio M. Di Nitto <[email protected]>
Date:   Wed Apr 23 09:06:47 2008 +0200

[BUILD] Fix install/uninstall targets for fence/agents/lib

commit c6f398d6a7f562f72c9f87369780a6ed09a4fc94

Author: Fabio M. Di Nitto <[email protected]>
Date:   Fri Apr 25 14:08:11 2008 +0200

[RGMANAGER] Fix uninstall target

commit 3dbb69dde3e1c5ec59ef9eb0077bb026a1c906bf

Author: Fabio M. Di Nitto <[email protected]>
Date:   Fri Apr 25 13:54:38 2008 +0200

[FENCE] Enable new fence agents by default

Remove enable_fence_experimental_agents configure option in favour of "crack_of_the_day"

Rename files around as agreed with Marek.

commit ca31f682c99033a4b200896bc02ee31766c8fbb4

Author: Fabio M. Di Nitto <[email protected]>
Date:   Wed Apr 23 08:52:05 2008 +0200

[BUILD] Deal with the new libfence properly

configure, make/defines.mk.input:
- rename fencelibdir to fenceagentslibdir to avoid name space collision.

make/fencebuild.mk, make/install.mk, make/uninstall.mk, fence/agents/apc/apc.py, fence/agents/bladecenter/bladecenter.py, fence/agents/drac/drac5.py, fence/agents/ilo/ilo.py, fence/agents/lib/Makefile, fence/agents/wti/wti.py:
- rename fencelibdir to fenceagentslibdir.

commit 41bf99b6a7c5f612e2e35417cfb81f62b25f12d7

Author: Fabio M. Di Nitto <[email protected]>
Date:   Tue Apr 22 20:33:31 2008 +0200

[MISC] Update copyright headers

commit 9957de81e2216225bb15e2810487345221f86769

Author: Lon Hohberger <[email protected]>
Date:   Wed Apr 16 10:11:35 2008 -0400

[fence] Preliminary TPS/NBB/NPS support in new WTI agent.

commit a7c08962a5dd4c0893e01794dcd5014deb0e9c9e

Author: Fabio M. Di Nitto <[email protected]>
Date:   Tue Apr 8 22:46:19 2008 +0200

[BUILD] Fix clean target for experimental fence/agents/lib

commit 7793a1dcdb25e29d91858d8fb03ecb4b672ef438

Author: Fabio M. Di Nitto <[email protected]>
Date:   Tue Apr 1 22:53:09 2008 +0200

[FENCE] Make sure to version and copyright all built files

Like all fence agents, those info can be useful. Store them in the modules even if only the libs print them out.

commit 2910f3ccbfbfd01bad004613670ba225ad04281e

Author: Fabio M. Di Nitto <[email protected]>
Date:   Tue Apr 1 22:50:28 2008 +0200

[FENCE] Fix fencelib to pring version and copyright

commit 0241887d15738cd59b5374420d908a4d5ce38001

Author: Fabio M. Di Nitto <[email protected]>
Date:   Tue Apr 1 22:24:15 2008 +0200

[BUILD] Enable build and install of experimental fence agents

commit 9e4b66772171683279ad3682780d09920e6e15f8

Author: Fabio M. Di Nitto <[email protected]>
Date:   Tue Apr 1 22:18:12 2008 +0200

[BUILD] Royal cleanup of the fence agents build system

Collapse fenceperl and fencepy into fencebuild.

fencebuild now use a much simpler and slightly more clever shell script scripts/fenceparse instead of scripts/define2var that was no longer used anywhere in the tree.

update all the fence/agents/ Makefile to use fencebuild.mk.

make fencebuild understand more than one target at a time.

commit 4771a07ee7e9c1efcb58753d863404b6a3a1ba24

Author: Fabio M. Di Nitto <[email protected]>
Date:   Tue Apr 1 22:09:53 2008 +0200

[FENCE] Remove obsoleted fence_apc perl implementation

commit d8b58867e89df7bff358a4d3e70d219c512dd1b6

Author: Fabio M. Di Nitto <[email protected]>
Date:   Tue Apr 1 22:09:17 2008 +0200

[FENCE] Move apc_snmp README where it belongs

commit 565f473b3e4809ed252f18afb7d6a1ac2a479092

Author: Fabio M. Di Nitto <[email protected]>
Date:   Tue Apr 1 22:07:55 2008 +0200

[FENCE] Move apc_snmp README where it belongs

commit 9f32ca6ee209beef889a437b1b931459f6aa17d8

Author: Fabio M. Di Nitto <[email protected]>
Date:   Tue Apr 1 10:34:23 2008 +0200

[BUILD] Add fencelibdir support

The new fence agents share a common python library.

Make it's location configurable at build time (default to /usr/lib/fence).

Update all targets required to handle it.

Update the agents accordingly.

NOTE: you will need to re-run configure to propagate the new configuration option. The new agents are not used/build/installed yet. This will happen shortly.

NOTE to packagers: the new library depends on pexpect.

commit 7b15cdeaeef5d2816e2bb7e6bab76f98d077915d

Author: Fabio M. Di Nitto <[email protected]>
Date:   Sat Mar 29 07:14:44 2008 +0100

[FENCE] apc_snmp: allow paths to snmp binaries to be configurable

commit 4b6835f18045883df3c742478b6ed8112f6b627e

Author: Fabio M. Di Nitto <[email protected]>
Date:   Sat Mar 29 06:47:15 2008 +0100

[FENCE] Enable fence_apc_snmp

Separate fence_apc_snmp from apc in its own directory.

Update the build system to understand --mibdir and propagate it down to fence_apc_snmp and the install targets.

commit 0c0948b5a078ac298446bc6f1795256416de865b

Author: Marek 'marx' Grac <[email protected]>
Date:   Fri Mar 28 18:20:06 2008 +0100

fence/agents: Add obsolete options

Added obsolete/dual options like hostname/ippaddr, action/option. These options are either translated to new or they are not used anymore/yet in new agents (eg. version of firmware).

commit 08d5fe761dacb819c8f44e4044f2714fc74f9a50

Author: Marek 'marx' Grac <[email protected]>
Date:   Fri Mar 28 17:18:42 2008 +0100

fence/agents: WTI agents merged

Fencing devices from WTI can use password or login/password for loging in. This patch merge two fencing agents together so it will be same as old agent.

commit e55866e9e0011ce8b319e3cd17d1ddbf587bcaf6

Author: Marek 'marx' Grac <[email protected]>
Date:   Fri Mar 28 16:11:31 2008 +0100

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. It is possible that backward compatibility is broken (to be fixed).

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

Summary of changes:

 Makefile                                         |    2 +-
 configure                                        |   22 +
 fence/agents/Makefile                            |    2 +-
 fence/agents/apc/Makefile                        |    5 +-
 fence/agents/apc/fence_apc.pl                    |  469 -----------
 fence/agents/apc/fence_apc.py                    |  899 ++--------------------
 fence/agents/{apc => apc_snmp}/Makefile          |    5 +-
 fence/agents/{apc => apc_snmp}/README            |    0 
 fence/agents/{apc => apc_snmp}/fence_apc_snmp.py |   20 +-
 fence/agents/{apc => apc_snmp}/powernet369.mib   |    0 
 fence/agents/baytech/Makefile                    |    2 +-
 fence/agents/bladecenter/Makefile                |    5 +-
 fence/agents/bladecenter/fence_bladecenter.pl    |  402 ++--------
 fence/agents/brocade/Makefile                    |    2 +-
 fence/agents/bullpap/Makefile                    |    2 +-
 fence/agents/cpint/Makefile                      |    2 +-
 fence/agents/drac/Makefile                       |    7 +-
 fence/agents/drac/fence_drac5.py                 |   79 ++
 fence/agents/egenera/Makefile                    |    2 +-
 fence/agents/ibmblade/Makefile                   |    2 +-
 fence/agents/ilo/Makefile                        |    5 +-
 fence/agents/ilo/fence_ilo.pl                    |  655 ----------------
 fence/agents/ilo/fence_ilo.py                    |   77 ++
 fence/agents/{apc => lib}/Makefile               |   16 +-
 fence/agents/lib/fencing.py.py                   |  347 +++++++++
 fence/agents/mcdata/Makefile                     |    2 +-
 fence/agents/rsa/Makefile                        |    2 +-
 fence/agents/rsb/Makefile                        |    2 +-
 fence/agents/sanbox2/Makefile                    |    2 +-
 fence/agents/scsi/Makefile                       |   32 +-
 fence/agents/vixel/Makefile                      |    2 +-
 fence/agents/vmware/Makefile                     |    2 +-
 fence/agents/wti/Makefile                        |    5 +-
 fence/agents/wti/fence_wti.pl                    |  384 ---------
 fence/agents/wti/fence_wti.py                    |  109 +++
 fence/agents/xcat/Makefile                       |    2 +-
 fence/agents/zvm/Makefile                        |    2 +-
 make/clean.mk                                    |    2 +-
 make/defines.mk.input                            |    6 +-
 make/fencebuild.mk                               |   26 +
 make/fenceperl.mk                                |   18 -
 make/fencepy.mk                                  |   18 -
 make/install.mk                                  |    8 +
 make/uninstall.mk                                |    6 +
 rgmanager/src/resources/Makefile                 |    5 +-
 scripts/define2var                               |   71 --
 scripts/fenceparse                               |   47 ++
 47 files changed, 955 insertions(+), 2827 deletions(-)
 delete mode 100755 fence/agents/apc/fence_apc.pl
 mode change 100644 => 100755 fence/agents/apc/fence_apc.py
 copy fence/agents/{apc => apc_snmp}/Makefile (88%)
 rename fence/agents/{apc => apc_snmp}/README (100%)
 rename fence/agents/{apc => apc_snmp}/fence_apc_snmp.py (94%)
 rename fence/agents/{apc => apc_snmp}/powernet369.mib (100%)
 create mode 100755 fence/agents/drac/fence_drac5.py
 delete mode 100755 fence/agents/ilo/fence_ilo.pl
 create mode 100755 fence/agents/ilo/fence_ilo.py
 copy fence/agents/{apc => lib}/Makefile (71%)
 create mode 100644 fence/agents/lib/fencing.py.py
 delete mode 100755 fence/agents/wti/fence_wti.pl
 create mode 100755 fence/agents/wti/fence_wti.py
 create mode 100644 make/fencebuild.mk
 delete mode 100644 make/fenceperl.mk
 delete mode 100644 make/fencepy.mk
 delete mode 100755 scripts/define2var
 create mode 100755 scripts/fenceparse
Makefile +1 -1
index 7346272..63c03c3 100644
@@ -33,7 +33,7 @@ all: scripts ${SUBDIRS}
 
 # Fix scripts permissions
 scripts:
-	chmod 755 ${SRCDIR}/scripts/*.pl ${SRCDIR}/scripts/define2var
+	chmod 755 ${SRCDIR}/scripts/*.pl ${SRCDIR}/scripts/fenceparse
 
 ${SUBDIRS}:
 	[ -n "${without_$@}" ] || ${MAKE} -C $@ all
configure +22 -0
index 9160e10..787b67d 100755
@@ -77,9 +77,12 @@ my %options = (
 	prefix => \$prefix,
 	sbindir => \$sbindir,
 	sharedir => \$sharedir,
+	mibdir => \$mibdir,
+	snmpbin => \$snmpbin,
 	confdir => \$confdir,
 	conffile => \$conffile,
 	fence_agents => \$fence_agents,
+	fenceagentslibdir => \$fenceagentslibdir,
 	enable_xen => \$enable_xen,
 	somajor => \$somajor,
 	sominor => \$sominor,
@@ -143,12 +146,15 @@ my $err = &GetOptions (\%options,
 		    'prefix=s',
 		    'sbindir=s',
 		    'sharedir=s',
+		    'mibdir=s',
+		    'snmpbin=s',
 		    'confdir=s',
 		    'conffile=s',
 		    'somajor=s',
 		    'sominor=s',
 		    'release_version=s',
 		    'fence_agents=s',
+		    'fenceagentslibdir=s',
 		    'enable_xen',
 		    'without_ccs',
 		    'without_cman',
@@ -178,6 +184,8 @@ if ($help || !$err) {
   print "--libdir=\tthe base directory for libraries.  (Default: {prefix}/lib)\n";
   print "--libexecdir=\tthe base directory for executable components.  (Default: {prefix}/libexec)\n";
   print "--sharedir=\tthe base directory for misc cluster files.  (Default: {prefix}/share/cluster)\n";
+  print "--mibdir=\tthe base directory for snmp mibs.  (Default: {prefix}/share/snmp/mibs)\n";
+  print "--snmpbin=\tthe base directory for snmp binaries (Ex: /usr/bin/snmpwalk).  (Default: {prefix}/bin)\n";
   print "--confdir=\tthe cluster config directory.  (Default: /etc/cluster)\n";
   print "--conffile=\tthe cluster config file.  (Default: cluster.conf)\n";
   print "--mandir=\tthe base directory for man pages.  (Default: {prefix}/share/man)\n";
@@ -221,6 +229,7 @@ if ($help || !$err) {
   print "--xenlibdir=\tthe base directory for xen libraries.  (Default: {libdir})\n";
   print "--fence_agents=\tlist of fence agents to configure.  (Default: all)\n";
   print "\t\tUse --fence_agents=help for a list\n";
+  print "--fenceagentslibdir=\tspecify directory where to install common fence python lib.  (Default: /usr/lib/fence)\n";
   print "--enable_xen\tEnable building of Xen-specific pieces\n";
   print "--without_ccs\tDisable ccs building  (Default: enabled)\n";
   print "--without_cman\tDisable cman building  (Default: enabled)\n";
@@ -478,6 +487,12 @@ if (!$sbindir) {
 if (!$sharedir) {
   $sharedir="${prefix}/share/cluster";
 }
+if (!$mibdir) {
+  $mibdir="${prefix}/share/snmp/mibs";
+}
+if (!$snmpbin) {
+  $snmpbin="${prefix}/bin";
+}
 if (!$confdir) {
   $confdir="/etc/cluster";
 }
@@ -487,6 +502,9 @@ if (!$conffile) {
 if (!$fence_agents) {
   $fence_agents="all";
 }
+if (!$fenceagentslibdir) {
+  $fenceagentslibdir="/usr/lib/fence";
+}
 if (!$enable_xen) {
   $enable_xen="";
 }
@@ -535,6 +553,7 @@ open (IFILE, "@args |");
 while (<IFILE>) {
   chomp;
   s|fence\/agents\/| |g;
+  s|lib ||g;
   $all_fence = $_;
 }
 close IFILE;
@@ -599,9 +618,12 @@ while (<IFILE>) {
   $_ =~ s/\@MANDIR\@/$mandir/;
   $_ =~ s/\@SBINDIR\@/$sbindir/;
   $_ =~ s/\@SHAREDIR\@/$sharedir/;
+  $_ =~ s/\@MIBDIR\@/$mibdir/;
+  $_ =~ s/\@SNMPBIN\@/$snmpbin/;
   $_ =~ s/\@CONFDIR\@/$confdir/;
   $_ =~ s/\@CONFFILE\@/$conffile/;
   $_ =~ s/\@FENCE_AGENTS\@/$fence_agents/;
+  $_ =~ s/\@FENCEAGENTSLIBDIR\@/$fenceagentslibdir/;
   $_ =~ s/\@ENABLE_XEN\@/$enable_xen/;
   $_ =~ s/\@DISABLE_CCS\@/$without_ccs/;
   $_ =~ s/\@DISABLE_CMAN\@/$without_cman/;
fence/agents/Makefile +1 -1
index a349cea..c90dcb3 100644
@@ -13,7 +13,7 @@
 
 include ../../make/defines.mk
 
-SUBDIRS = ${fence_agents}
+SUBDIRS = ${fence_agents} lib
 
 all: ${SUBDIRS}
 
fence/agents/apc/Makefile +3 -2
index 7292eb8..0299a61 100644
@@ -11,7 +11,8 @@
 ###############################################################################
 ###############################################################################
 
+include ../../../make/defines.mk
+
 TARGET= fence_apc
 
-include ../../../make/defines.mk
-include $(OBJDIR)/make/fencepy.mk
+include $(OBJDIR)/make/fencebuild.mk
fence/agents/apc/fence_apc.pl deleted +0 -469

469 lines not on this page · raw message

fence/agents/apc/fence_apc.py +85 -814

914 lines not on this page · raw message

fence/agents/apc_snmp/Makefile renamed from fence/agents/apc/Makefile +3 -2
similarity index 88%
copy from fence/agents/apc/Makefile
copy to fence/agents/apc_snmp/Makefile
index 7292eb8..8471db4 100644
@@ -11,7 +11,8 @@
 ###############################################################################
 ###############################################################################
 
-TARGET= fence_apc
+TARGET= fence_apc_snmp
+MIBRESOURCE= powernet369.mib
 
 include ../../../make/defines.mk
-include $(OBJDIR)/make/fencepy.mk
+include $(OBJDIR)/make/fencebuild.mk
fence/agents/apc_snmp/README renamed from fence/agents/apc/README +0 -0
similarity index 100%
rename from fence/agents/apc/README
rename to fence/agents/apc_snmp/README
fence/agents/apc_snmp/fence_apc_snmp.py renamed from fence/agents/apc/fence_apc_snmp.py +10 -10
similarity index 94%
rename from fence/agents/apc/fence_apc_snmp.py
rename to fence/agents/apc_snmp/fence_apc_snmp.py
index 4bb02d4..afb0ff9 100755
@@ -14,7 +14,7 @@
 ## This APC Fence script uses snmp to control the APC power
 ## switch. This script requires that net-snmp-utils be installed
 ## on all nodes in the cluster, and that the powernet369.mib file be
-## located in /usr/share/snmp/mibs/
+## located in @MIBDIR@
 #############################################################################
 #############################################################################
 
@@ -67,8 +67,8 @@ def main():
   status_check = False
   verbose = False
 
-  if not glob('/usr/share/snmp/mibs/powernet*.mib'):
-    sys.stderr.write('This APC Fence script uses snmp to control the APC power switch. This script requires that net-snmp-utils be installed on all nodes in the cluster, and that the powernet369.mib file be located in /usr/share/snmp/mibs/\n')
+  if not glob('@MIBDIR@/powernet*.mib'):
+    sys.stderr.write('This APC Fence script uses snmp to control the APC power switch. This script requires that net-snmp-utils be installed on all nodes in the cluster, and that the powernet369.mib file be located in @MIBDIR@\n')
     sys.exit(1)
 
   if len(sys.argv) > 1:
@@ -169,7 +169,7 @@ def main():
   args_off = list()
   args_on = list()
 
-  args_status.append("/usr/bin/snmpget")
+  args_status.append("@SNMPBIN@/snmpget")
   args_status.append("-Oqu") #sets printing options
   args_status.append("-v")
   args_status.append("1")
@@ -180,7 +180,7 @@ def main():
   args_status.append(address)
   args_status.append(apc_command)
 
-  args_off.append("/usr/bin/snmpset")
+  args_off.append("@SNMPBIN@/snmpset")
   args_off.append("-Oqu") #sets printing options
   args_off.append("-v")
   args_off.append("1")
@@ -193,7 +193,7 @@ def main():
   args_off.append("i")
   args_off.append("outletOff")
 
-  args_on.append("/usr/bin/snmpset")
+  args_on.append("@SNMPBIN@/snmpset")
   args_on.append("-Oqu") #sets printing options
   args_on.append("-v")
   args_on.append("1")
@@ -235,7 +235,7 @@ def main():
         fd.write("Attempting the following command: %s\n" % cmdstr_off)
       strr = os.system(cmdstr_off)
       time.sleep(1)
-      strr,code = execWithCaptureStatus("/usr/bin/snmpget",args_status)
+      strr,code = execWithCaptureStatus("@SNMPBIN@/snmpget",args_status)
       if verbose:
         fd.write("Result: %s\n" % strr)
         fd.close()
@@ -254,7 +254,7 @@ def main():
         fd.write("Attempting the following command: %s\n" % cmdstr_on)
       strr = os.system(cmdstr_on)
       time.sleep(1)
-      strr,code = execWithCaptureStatus("/usr/bin/snmpget",args_status)
+      strr,code = execWithCaptureStatus("@SNMPBIN@/snmpget",args_status)
       #strr = os.system(cmdstr_status) 
       if verbose:
         fd.write("Result: %s\n" % strr)
@@ -276,7 +276,7 @@ def main():
         fd.write("Attempting the following command: %s\n" % cmdstr_off)
       strr = os.system(cmdstr_off)
       time.sleep(1)
-      strr,code = execWithCaptureStatus("/usr/bin/snmpget",args_status)
+      strr,code = execWithCaptureStatus("@SNMPBIN@/snmpget",args_status)
       #strr = os.system(cmdstr_status)
       if verbose:
         fd.write("Result: %s\n" % strr)
@@ -291,7 +291,7 @@ def main():
         fd.write("Attempting the following command: %s\n" % cmdstr_on)
       strr = os.system(cmdstr_on)
       time.sleep(1)
-      strr,code = execWithCaptureStatus("/usr/bin/snmpget",args_status)
+      strr,code = execWithCaptureStatus("@SNMPBIN@/snmpget",args_status)
       #strr = os.system(cmdstr_status)
       if verbose:
         fd.write("Result: %s\n" % strr)
fence/agents/apc_snmp/powernet369.mib renamed from fence/agents/apc/powernet369.mib +0 -0
similarity index 100%
rename from fence/agents/apc/powernet369.mib
rename to fence/agents/apc_snmp/powernet369.mib
fence/agents/baytech/Makefile +1 -1
index 97c2a89..00cf95c 100644
@@ -14,4 +14,4 @@
 TARGET= fence_baytech
 
 include ../../../make/defines.mk
-include $(OBJDIR)/make/fenceperl.mk
+include $(OBJDIR)/make/fencebuild.mk
fence/agents/bladecenter/Makefile +3 -2
index 4c4390c..e0700c8 100644
@@ -11,7 +11,8 @@
 ###############################################################################
 ###############################################################################
 
+include ../../../make/defines.mk
+
 TARGET= fence_bladecenter
 
-include ../../../make/defines.mk
-include $(OBJDIR)/make/fenceperl.mk
+include $(OBJDIR)/make/fencebuild.mk
fence/agents/bladecenter/fence_bladecenter.pl +82 -320

410 lines not on this page · raw message

fence/agents/brocade/Makefile +1 -1
index bc008e4..5b58409 100644
@@ -14,4 +14,4 @@
 TARGET= fence_brocade
 
 include ../../../make/defines.mk
-include $(OBJDIR)/make/fenceperl.mk
+include $(OBJDIR)/make/fencebuild.mk
fence/agents/bullpap/Makefile +1 -1
index d4d0145..e303558 100644
@@ -14,4 +14,4 @@
 TARGET= fence_bullpap
 
 include ../../../make/defines.mk
-include $(OBJDIR)/make/fenceperl.mk
+include $(OBJDIR)/make/fencebuild.mk
fence/agents/cpint/Makefile +1 -1
index dd001cd..e6fb49e 100644
@@ -14,4 +14,4 @@
 TARGET= fence_cpint
 
 include ../../../make/defines.mk
-include $(OBJDIR)/make/fenceperl.mk
+include $(OBJDIR)/make/fencebuild.mk
fence/agents/drac/Makefile +4 -3
index 390e210..e0267f3 100644
@@ -11,7 +11,8 @@
 ###############################################################################
 ###############################################################################
 
-TARGET= fence_drac
-
 include ../../../make/defines.mk
-include $(OBJDIR)/make/fenceperl.mk
+
+TARGET= fence_drac fence_drac5
+
+include $(OBJDIR)/make/fencebuild.mk
fence/agents/drac/fence_drac5.py new file +79 -0

79 lines not on this page · raw message

fence/agents/egenera/Makefile +1 -1
index 7e15c87..c980b45 100644
@@ -14,4 +14,4 @@
 TARGET= fence_egenera
 
 include ../../../make/defines.mk
-include $(OBJDIR)/make/fenceperl.mk
+include $(OBJDIR)/make/fencebuild.mk
fence/agents/ibmblade/Makefile +1 -1
index dfa1d5a..50053a1 100644
@@ -14,4 +14,4 @@
 TARGET= fence_ibmblade
 
 include ../../../make/defines.mk
-include $(OBJDIR)/make/fenceperl.mk
+include $(OBJDIR)/make/fencebuild.mk
fence/agents/ilo/Makefile +3 -2
index eb51656..3926e01 100644
@@ -11,7 +11,8 @@
 ###############################################################################
 ###############################################################################
 
+include ../../../make/defines.mk
+
 TARGET= fence_ilo
 
-include ../../../make/defines.mk
-include $(OBJDIR)/make/fenceperl.mk
+include $(OBJDIR)/make/fencebuild.mk
fence/agents/ilo/fence_ilo.pl deleted +0 -655

655 lines not on this page · raw message

fence/agents/ilo/fence_ilo.py new file +77 -0

77 lines not on this page · raw message

fence/agents/lib/Makefile renamed from fence/agents/apc/Makefile +10 -6
similarity index 71%
copy from fence/agents/apc/Makefile
copy to fence/agents/lib/Makefile
index 7292eb8..4ea39e2 100644
@@ -1,8 +1,9 @@
+##############################################################################
 ###############################################################################
-###############################################################################
 ##
-##  Copyright (C) Sistina Software, Inc.  1997-2003  All rights reserved.
-##  Copyright (C) 2004 Red Hat, Inc.  All rights reserved.
+##  Copyright (C) 2008 Red Hat, Inc.  All rights reserved.
+##
+##  Author: Fabio M. Di Nitto <[email protected]>
 ##  
 ##  This copyrighted material is made available to anyone wishing to use,
 ##  modify, copy, or redistribute it subject to the terms and conditions
@@ -11,7 +12,10 @@
 ###############################################################################
 ###############################################################################
 
-TARGET= fence_apc
-
 include ../../../make/defines.mk
-include $(OBJDIR)/make/fencepy.mk
+
+TARGET= fencing.py
+
+FENCEAGENTSLIB= $(TARGET)
+
+include $(OBJDIR)/make/fencebuild.mk
fence/agents/lib/fencing.py.py new file +347 -0

118 lines not on this page · raw message

fence/agents/mcdata/Makefile +1 -1
index 453c176..91ca8d4 100644

Lines of this file are not shown. View the raw message.

fence/agents/rsa/Makefile +1 -1
index 509a991..1d29063 100644

Lines of this file are not shown. View the raw message.

fence/agents/rsb/Makefile +1 -1
index 3f9ddfe..e4db9d8 100644

Lines of this file are not shown. View the raw message.

fence/agents/sanbox2/Makefile +1 -1
index 2c7340b..04696c8 100644

Lines of this file are not shown. View the raw message.

fence/agents/scsi/Makefile +3 -29
index f44886e..40491dd 100644

Lines of this file are not shown. View the raw message.

fence/agents/vixel/Makefile +1 -1
index 2bbc0fc..828f3ea 100644

Lines of this file are not shown. View the raw message.

fence/agents/vmware/Makefile +1 -1
index cdf42bb..6c2b911 100644

Lines of this file are not shown. View the raw message.

fence/agents/wti/Makefile +3 -2
index 21716cc..414ad09 100644

Lines of this file are not shown. View the raw message.

fence/agents/wti/fence_wti.pl deleted +0 -384

384 lines not on this page · raw message

fence/agents/wti/fence_wti.py new file +109 -0

109 lines not on this page · raw message

fence/agents/xcat/Makefile +1 -1
index d45e0bd..6c1db95 100644

Lines of this file are not shown. View the raw message.

fence/agents/zvm/Makefile +1 -1
index 64cc46b..2094a2b 100644

Lines of this file are not shown. View the raw message.

make/clean.mk +1 -1
index ac5f603..560c4f9 100644

Lines of this file are not shown. View the raw message.

make/defines.mk.input +4 -2
index f3c732c..7a2a123 100644

Lines of this file are not shown. View the raw message.

make/fencebuild.mk new file +26 -0
new file mode 100644
index 0000000..27880be

Lines of this file are not shown. View the raw message.

make/fenceperl.mk deleted +0 -18
deleted file mode 100644
index 9c60726..0000000

Lines of this file are not shown. View the raw message.

make/fencepy.mk deleted +0 -18
deleted file mode 100644
index 26ed29e..0000000

Lines of this file are not shown. View the raw message.

make/install.mk +8 -0
index e954e85..9bc5f58 100644

Lines of this file are not shown. View the raw message.

make/uninstall.mk +6 -0
index 14e575b..2d8094f 100644

Lines of this file are not shown. View the raw message.

rgmanager/src/resources/Makefile +4 -1
index 2c17e16..5e5897b 100644

Lines of this file are not shown. View the raw message.

scripts/define2var deleted +0 -71

71 lines not on this page · raw message

scripts/fenceparse new file +47 -0

47 lines not on this page · raw message

The rest of this diff is not shown. View the raw message.

hooks/post-receive
--
Cluster Project

Part of the diff is not shown here. View the raw message.