ctdb-scripts: Move 60.nfs Ganesha callout to doc/examples/
authorMartin Schwenke <martin@meltin.net>
Sun, 19 Jul 2015 11:23:44 +0000 (21:23 +1000)
committerAmitay Isaacs <amitay@samba.org>
Tue, 21 Jul 2015 05:54:09 +0000 (07:54 +0200)
We don't expect to maintain an up-to-date copy.  NFS Ganesha team
might provide patches.

Also move the Ganesha .check file

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb/doc/examples/20.nfs_ganesha.check [moved from ctdb/config/nfs-checks.d/20.nfs_ganesha.disabled with 100% similarity]
ctdb/doc/examples/README
ctdb/doc/examples/nfs-ganesha-callout [moved from ctdb/config/nfs-ganesha-callout with 98% similarity]
ctdb/packaging/RPM/ctdb.spec.in

index 7a2e964bffa8a0f8077e2747e32e633ab31cbff6..b3ca1c197a7552e282a21874694c8ee5544b3b86 100644 (file)
@@ -1,5 +1,16 @@
-This directory includes sample CTDB cluster configurations.
+This directory includes...
+
+Sample CTDB cluster configurations
 
   o cluster.conf  - Basic cluster setup
   o natgw.conf    - Basic cluster setup with NAT gateway feature
   o external.conf - Basic cluster setup with externally managed public IP addresses
+
+
+Sample 60.nfs configuration for NFS ganesha - callout script and
+.check file
+
+  o nfs-ganesha-callout
+  o 20.nfs_ganesha.check
+
+See the comment at the top of nfs-ganesha-callout for instructions.
similarity index 98%
rename from ctdb/config/nfs-ganesha-callout
rename to ctdb/doc/examples/nfs-ganesha-callout
index b66611c84f9a86a04cff3521163a073cb899b498..3f0a016c3874340d28344b19a660c70cd594d613 100755 (executable)
@@ -17,7 +17,7 @@
 # * Rename nfs-checks.d/{20.nfs.check,30.nlockmgr.check,50.mountd.check}
 #   so that they no longer have the ".check" suffix
 #
-# * Rename nfs-checks.d/20.nfs-ganesha.disabled to nfs-checks.d/20.nfs.check
+# * Install 20.nfs-ganesha.check to nfs-checks.d/20.nfs.check
 
 # I (Martin Schwenke) hereby relicense all of my contributions to this
 # callout (and, previously, to 60.ganesha) to a license compatible
index c356b6c21d653955ac521e5a0fe26e51abe5111b..00f0be56a19709d164addadf6a8a991d24955f39 100644 (file)
@@ -187,7 +187,6 @@ rm -rf $RPM_BUILD_ROOT
 %config(noreplace) %{_sysconfdir}/ctdb/nfs-checks.d/00.portmapper.check
 %config(noreplace) %{_sysconfdir}/ctdb/nfs-checks.d/10.status.check
 %config(noreplace) %{_sysconfdir}/ctdb/nfs-checks.d/20.nfs.check
-%config(noreplace) %{_sysconfdir}/ctdb/nfs-checks.d/20.nfs_ganesha.disabled
 %config(noreplace) %{_sysconfdir}/ctdb/nfs-checks.d/30.nlockmgr.check
 %config(noreplace) %{_sysconfdir}/ctdb/nfs-checks.d/40.mountd.check
 %config(noreplace) %{_sysconfdir}/ctdb/nfs-checks.d/50.rquotad.check