summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Zoffoli <xmerlin@gentoo.org>2005-03-22 13:42:07 +0000
committerChristian Zoffoli <xmerlin@gentoo.org>2005-03-22 13:42:07 +0000
commit55fc673b7cc5e5b90d60c8e188767b1cbe03dbf9 (patch)
treeea66d53b50b0e31cda02cd7f231704e6a65adf84 /sys-cluster
parentadded init file (diff)
downloadgentoo-2-55fc673b7cc5e5b90d60c8e188767b1cbe03dbf9.tar.gz
gentoo-2-55fc673b7cc5e5b90d60c8e188767b1cbe03dbf9.tar.bz2
gentoo-2-55fc673b7cc5e5b90d60c8e188767b1cbe03dbf9.zip
improved init file, added conf file
(Portage version: 2.0.51.19)
Diffstat (limited to 'sys-cluster')
-rw-r--r--sys-cluster/fence/ChangeLog6
-rw-r--r--sys-cluster/fence/fence-1.25.ebuild3
-rw-r--r--sys-cluster/fence/files/fenced.conf1
-rwxr-xr-xsys-cluster/fence/files/fenced.rc8
4 files changed, 11 insertions, 7 deletions
diff --git a/sys-cluster/fence/ChangeLog b/sys-cluster/fence/ChangeLog
index 11963148bbef..d842dda9ad96 100644
--- a/sys-cluster/fence/ChangeLog
+++ b/sys-cluster/fence/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-cluster/fence
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/fence/ChangeLog,v 1.7 2005/03/19 21:52:34 xmerlin Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/fence/ChangeLog,v 1.8 2005/03/22 13:42:07 xmerlin Exp $
+
+ 22 Mar 2005; Christian Zoffoli <xmerlin@gentoo.org> +files/fenced.conf,
+ files/fenced.rc, fence-1.25.ebuild:
+ improved init file, added conf file
19 Mar 2005; Christian Zoffoli <xmerlin@gentoo.org> +files/fenced.rc,
fence-1.25.ebuild:
diff --git a/sys-cluster/fence/fence-1.25.ebuild b/sys-cluster/fence/fence-1.25.ebuild
index e36db193b03e..a7662e439a53 100644
--- a/sys-cluster/fence/fence-1.25.ebuild
+++ b/sys-cluster/fence/fence-1.25.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/fence/fence-1.25.ebuild,v 1.2 2005/03/19 21:52:34 xmerlin Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/fence/fence-1.25.ebuild,v 1.3 2005/03/22 13:42:07 xmerlin Exp $
inherit linux-mod
@@ -32,4 +32,5 @@ src_install() {
make DESTDIR=${D} install || die
exeinto /etc/init.d ; newexe ${FILESDIR}/fenced.rc fenced || die
+ insinto /etc/conf.d ; newins ${FILESDIR}/fenced.conf fenced || die
}
diff --git a/sys-cluster/fence/files/fenced.conf b/sys-cluster/fence/files/fenced.conf
new file mode 100644
index 000000000000..9cdd1ee7d84d
--- /dev/null
+++ b/sys-cluster/fence/files/fenced.conf
@@ -0,0 +1 @@
+FENCED_OPTS=""
diff --git a/sys-cluster/fence/files/fenced.rc b/sys-cluster/fence/files/fenced.rc
index 5215e870c746..a17ec3470dc6 100755
--- a/sys-cluster/fence/files/fenced.rc
+++ b/sys-cluster/fence/files/fenced.rc
@@ -1,18 +1,16 @@
#!/sbin/runscript
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/fence/files/fenced.rc,v 1.1 2005/03/19 21:52:34 xmerlin Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/fence/files/fenced.rc,v 1.2 2005/03/22 13:42:07 xmerlin Exp $
depend() {
use net
- need ccs
- before gfs
- provide fence
+ need ccs cluster-manager cluster-locking-manager
}
start() {
ebegin "Starting fence domain"
- /sbin/fence_tool join > /dev/null 2>&1
+ /sbin/fence_tool join ${FENCED_OPTS}> /dev/null 2>&1
eend $?
}