mirror of
https://github.com/samba-team/samba.git
synced 2025-02-26 21:57:41 +03:00
ctdb-config: Add a default script.options file
Include it in the RPM. Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com>
This commit is contained in:
parent
a8ccf41b87
commit
f63f9053ef
22
ctdb/config/script.options
Normal file
22
ctdb/config/script.options
Normal file
@ -0,0 +1,22 @@
|
||||
# For now, use script.options to demonstrate these options. The
|
||||
# CTDB_MANAGES_* variables will go away soon. See other *.options
|
||||
# examples for more specific examples.
|
||||
|
||||
#
|
||||
# Samba configuration
|
||||
#
|
||||
|
||||
# 50.samba.options
|
||||
CTDB_MANAGES_SAMBA=yes
|
||||
# CTDB_SAMBA_SKIP_SHARE_CHECK=yes
|
||||
|
||||
# 49.winbind.options
|
||||
CTDB_MANAGES_WINBIND=yes
|
||||
|
||||
#
|
||||
# NFS configuration
|
||||
#
|
||||
|
||||
# 60.nfs.options
|
||||
CTDB_MANAGES_NFS=yes
|
||||
CTDB_RPCINFO_LOCALHOST="127.0.0.1"
|
@ -115,6 +115,7 @@ DESTDIR=$RPM_BUILD_ROOT ./buildtools/bin/waf install
|
||||
|
||||
install -m644 config/ctdbd.conf $RPM_BUILD_ROOT%{_sysconfdir}/ctdb
|
||||
install -m644 config/ctdb.tunables $RPM_BUILD_ROOT%{_sysconfdir}/ctdb
|
||||
install -m644 config/script.options $RPM_BUILD_ROOT%{_sysconfdir}/ctdb
|
||||
|
||||
# Add a pointer to modern location for configuration file. Allow with
|
||||
# "noreplace" in the files section, this stops RPM moving aside a
|
||||
@ -158,6 +159,7 @@ rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%config(noreplace) %{_sysconfdir}/ctdb/ctdbd.conf
|
||||
%config(noreplace) %{_sysconfdir}/ctdb/ctdb.tunables
|
||||
%config(noreplace) %{_sysconfdir}/ctdb/script.options
|
||||
%{_sysconfdir}/ctdb/notify.sh
|
||||
%dir %{_sysconfdir}/ctdb/notify.d
|
||||
%config(noreplace) %{_sysconfdir}/ctdb/debug-hung-script.sh
|
||||
|
Loading…
x
Reference in New Issue
Block a user