Update from eg_db_config.pl to eg_db_config
authorAndy Witter <awitter@georgialibraries.org>
Thu, 16 May 2013 13:00:59 +0000 (09:00 -0400)
committerAndy Witter <awitter@georgialibraries.org>
Thu, 16 May 2013 13:00:59 +0000 (09:00 -0400)
GenaSYS.sh
templates/setup-head.sh
templates/setup.sh

index 484f99f..f24a99f 100755 (executable)
@@ -25,8 +25,8 @@
     PURPOSE_="Generate config files needed for Evergreen-ILS Cluster"
    SYNOPSIS_="$NAME_"
    REQUIRES_="standard GNU commands, apt, dpkg"
-    VERSION_="1.08"
-       DATE_="2010-09-18; last update: 2013-05-15"
+    VERSION_="1.09"
+       DATE_="2010-09-18; last update: 2013-05-16"
      AUTHOR_="Andy Witter <awitter@georgialibraries.org>"
         URL_="http://evergreen-ils.org"
    CATEGORY_="devel"
@@ -2417,7 +2417,7 @@ do
                if echo ${SUBFOLDER} | grep -q head
                then
                        cp -f $TEMPLATEDIR/setup_brick_to_drone_sshkeys.sh ../setup_${SUBFOLDER}/setup_${SUBFOLDER}_to_drone_sshkeys.sh
-                       cp -f $TEMPLATEDIR/db/eg_db_config.pl ../setup_${SUBFOLDER}
+                       #cp -f $TEMPLATEDIR/db/eg_db_config.pl ../setup_${SUBFOLDER}
                        [ -e "${CUSTOMDIR}/lib_ips.txt" ] && cp "${CUSTOMDIR}/lib_ips.txt" ../setup_${SUBFOLDER}
                        sed -i "s^brick_drones.txt^${SUBFOLDER}_drones.txt^g" ../setup_${SUBFOLDER}/setup_${SUBFOLDER}_to_drone_sshkeys.sh
                        sed -i "s^MASTER_DB^$MASTER_DB^g" setup-head.sh
index d61ae4a..0bbce62 100755 (executable)
@@ -26,7 +26,7 @@ fi
 
 
 Prep_DB_9_X () { #Prepare the database schema
-/openils/bin/eg_db_config.pl --service all --create-schema --create-offline --create-database \
+/openils/bin/eg_db_config --service all --create-schema --create-offline --create-database \
  --user EG_DB_USER --password EG_DB_PASSWORD --hostname MASTER_DB.CLUSTER_DOMAINNAME --port 5432 \
  --database evergreen --admin-user EG_ADMIN_USER --admin-pass EG_ADMIN_PASS
 
@@ -269,7 +269,7 @@ fi
 
 ### create opensrf offline configuraton.
 echo "Creating opensrf offline configuration."
-su - opensrf -c "/openils/bin/eg_db_config.pl --create-offline"
+su - opensrf -c "/openils/bin/eg_db_config --create-offline"
 
 ### setup ldiretor ping file
 echo "pong" > /openils/var/web/ldirectorping.txt-
index 1251d6f..36a958c 100755 (executable)
@@ -586,7 +586,7 @@ fi
 ### Setup offline for all OpenSRF nodes.
 if [ "$OSRF_NODE" = "1" ]
 then 
-       su - opensrf -c eg_db_config.pl --create-offline
+       su - opensrf -c eg_db_config --create-offline
 fi
 
 ### Display LVS Notes.