aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
Diffstat (limited to 'main')
-rw-r--r--main/ocfs2-tools/APKBUILD9
-rw-r--r--main/ocfs2-tools/ocfs2-tools.cluster-conf17
2 files changed, 23 insertions, 3 deletions
diff --git a/main/ocfs2-tools/APKBUILD b/main/ocfs2-tools/APKBUILD
index b64566bde8..e35f381694 100644
--- a/main/ocfs2-tools/APKBUILD
+++ b/main/ocfs2-tools/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=ocfs2-tools
pkgver=1.4.4
-pkgrel=3
+pkgrel=4
pkgdesc="Oracle Cluster File System 2 utilities"
url="http://oss.oracle.com/projects/ocfs2-tools"
arch="all"
@@ -16,7 +16,8 @@ source="http://oss.oracle.com/projects/ocfs2-tools/dist/files/source/v1.4/$pkgna
gcc45-ftbfs.patch
build.patch
$pkgname.initd
- $pkgname.confd"
+ $pkgname.confd
+ $pkgname.cluster-conf"
_builddir="$srcdir"/$pkgname-$pkgver
@@ -52,10 +53,12 @@ package() {
# remove the 2 lines below (and this) if there is no init.d script
install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/o2cb
install -m644 -D "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/o2cb
+ install -m644 -D "$srcdir"/$pkgname.cluster-conf "$pkgdir"/etc/ocfs2/cluster.conf
}
md5sums="f7ae245e8baa499aa56d7af25a7885d5 ocfs2-tools-1.4.4.tar.gz
5dba18ca5596b1de0f2eeb30f5ed1656 gcc45-ftbfs.patch
c938040f0e77a4bb23e952c8f99b6cc5 build.patch
601fbd79acdc52a9046293aa977b1547 ocfs2-tools.initd
-d81b6ab068ec92a137b58c9ad56c4637 ocfs2-tools.confd"
+d81b6ab068ec92a137b58c9ad56c4637 ocfs2-tools.confd
+189e433cf001465f1565faae2e6e10ac ocfs2-tools.cluster-conf"
diff --git a/main/ocfs2-tools/ocfs2-tools.cluster-conf b/main/ocfs2-tools/ocfs2-tools.cluster-conf
new file mode 100644
index 0000000000..0d39f1839f
--- /dev/null
+++ b/main/ocfs2-tools/ocfs2-tools.cluster-conf
@@ -0,0 +1,17 @@
+node:
+ ip_port = 7777
+ ip_address = 10.0.0.1
+ number = 0
+ name = ocfs2-node1
+ cluster = ocfs2
+
+node:
+ ip_port = 7777
+ ip_address = 10.0.0.2
+ number = 1
+ name = ofcs2-node2
+ cluster = ocfs2
+
+cluster:
+ node_count = 2
+ name = ocfs2