Masato Taruishi
taru****@sourc*****
2004年 7月 22日 (木) 21:37:01 JST
=================================================================== RCS file: plugin/ultramonkey/ldirectord.cf.in,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- plugin/ultramonkey/ldirectord.cf.in 2004/06/28 07:51:41 1.1 +++ plugin/ultramonkey/ldirectord.cf.in 2004/07/22 12:37:01 1.2 @@ -11,7 +11,7 @@ # Global Directives checktimeout=3 checkinterval=1 -fallback=127.0.0.1:80 +#fallback=127.0.0.1:80 autoreload=yes #logfile="/var/log/ldirectord.log" #logfile="local0" =================================================================== RCS file: plugin/ultramonkey/update-ultramonkey,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- plugin/ultramonkey/update-ultramonkey 2004/07/22 05:02:11 1.2 +++ plugin/ultramonkey/update-ultramonkey 2004/07/22 12:37:01 1.3 @@ -12,11 +12,12 @@ progress "Configuring UltraMonkey... " + if include "$HOST" "$ULTRAMONKEYNODES"; then add_startmark "##" "$id" > $tmp cat >> $tmp <<EOF virtual=$VIRTUALSLAVE:389 - fallback=127.0.0.1:389 +# fallback=127.0.0.1:389 EOF for s in $SLAVES; do @@ -33,6 +34,11 @@ add_endmark "##" "$id" >> $tmp add_end_vaconf $LDIRECTORDCF $tmp "$id" configure_debian + + else + if test -f "$LDIRECTORDCF"; then strip_vaconf $LDIRECTORDCF "ULTRAMONKEY" ;fi + remove_debian + fi progress "Configuring UltraMonkey... done" if test "`ultramonkeynodesnum`" -gt "1"; then @@ -61,6 +67,9 @@ fi progress "Setting up heartbeat for UltraMonkey... done" + else + strip_vaconf $HACF "ULTRAMONKEY" + strip_vaconf $HARESOURCES "ULTRAMONKEY" fi }