# bootstrap configuration file

#---------------------------------
# Description
#    This configuration is for
# on-site users putting a "standard"
# products area under /local/ups

#---------------------------------
# variables to be used later
#
set_variable bootbase="file://localhost/var/tmp/upsupdbootstrap/prd/bootstrap/.v2_2"

#---------------------------------
# variables required by bootstrap
#
set_variable upsdb_list="/local/ups/db /fnal/ups/db /afs/fnal/ups/db"

#---------------------------------
# Space checks
#
check_space /local/ups/db    70000
check_space /usr/local/bin    2000

#---------------------------------
# files to download
#	      remote				local
#             -----				-----
# download_file $bootbase/updconfig.generic 	updconfig

#---------------------------------
# things to run before installs
#
#pre_install_command "sh localmounts.sh"

#---------------------------------
# user-id's to create
#		login		uid	gid	home
#		-----		---	---	----
create_user	products	1342	4525	/local/ups

#---------------------------------
# ups databaes to create
#	  database		dbconfig	updconfig	owner
#         --------		--------	---------	-----
create_db /local/ups/db		-		-		products

#---------------------------------
# if installing coreFUE, where?
#
install_coreFUE /local/ups/db

#---------------------------------
# other product installs
#
install_as	products 	fullFUE -z /local/ups/db

#---------------------------------
# ups current, configure, insall_as_root commands
#
do_ups installasroot systools
do_ups installasroot shells

#---------------------------------
# courtesy links in /usr/local/etc?
#
make_courtesy_links
