[remaster/mcs] some more tweaks
This commit is contained in:
parent
6f64f7a358
commit
895c1bebad
5
molecules/3rdparty/mcs.common
vendored
5
molecules/3rdparty/mcs.common
vendored
@ -50,10 +50,7 @@ packages_to_add:
|
||||
net-mail/cyrus-imapd,
|
||||
www-servers/apache[threads],
|
||||
www-servers/jboss-bin:4.2,
|
||||
net-mail/gnarwl,
|
||||
rpm2targz,
|
||||
nmap,
|
||||
tcpdump
|
||||
net-mail/gnarwl
|
||||
|
||||
# Custom shell call to packages add (default is: equo install)
|
||||
custom_packages_add_cmd: equo install --relaxed
|
||||
|
@ -36,11 +36,11 @@ ServerAdminPwd=mcsmanager
|
||||
su - -c "/usr/sbin/setup-ds-admin.pl -f ${tmp_config_file} --silent" || return 1
|
||||
|
||||
# init MCS ldap data
|
||||
( /usr/sbin/mcs-ldapinit.pl -d localhost.localdomain -b "dc=babel,dc=it" \
|
||||
-s sa -p mcsmanager -a node1 -B "db1,db2" > /tmp/base.ldif ) || return 1
|
||||
/usr/bin/ldapmodify -a -D "cn=directory manager" -w mcsmanager \
|
||||
-f /tmp/base.ldif || return 1
|
||||
rm -f /tmp/base.ldif &> /dev/null
|
||||
# TODO
|
||||
#( /usr/sbin/mcs-ldapinit.pl -d localhost.localdomain -b "dc=babel,dc=it" \
|
||||
# -s sa -p mcsmanager -a node1 -B "db1,db2" -f /tmp/base.ldif ) || return 1
|
||||
#/usr/bin/ldapmodify -a -D "cn=directory manager" -h localhost -w mcsmanager \
|
||||
# -f /tmp/base.ldif || return 1
|
||||
|
||||
echo "389 Directory Server configured."
|
||||
return 0
|
||||
@ -64,5 +64,9 @@ _setup_fds_installed() {
|
||||
|
||||
setup_fds() {
|
||||
# setup 389
|
||||
( _is_live && _setup_fds_live ) || _setup_fds_installed
|
||||
if _is_live; then
|
||||
_setup_fds_live
|
||||
else
|
||||
_setup_fds_installed
|
||||
fi
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user