ranger/tools/ranger_create_db.sh
raigax9 729705ead0 Added and edited files to run ranger
Created scripts for setting up ranger as well as
modifying the service files as part of the setup.

Change-Id: Ic1d77dd03fa2287097f35f3de5e890cfb768f71b
2017-09-22 13:37:45 -04:00

33 lines
825 B
Bash
Executable File

root_dir=/opt/stack/ranger
tools_dir=/opt/stack/ranger/tools
cd ..
cd orm/services/audit_trail_manager/scripts/shell_scripts/
bash create_db.sh
bash update_db.sh
cd $root_dir
cd orm/services/customer_manager/scripts/shell_scripts/
bash create_db.sh
bash update_db.sh
cd $root_dir
cd orm/services/flavor_manager/scripts/shell_scripts/
bash create_db.sh
bash update_db.sh
cd $root_dir
cd orm/services/id_generator/scripts/shell_scripts/
bash create_db.sh
bash update_db.sh
cd $root_dir
cd orm/services/image_manager/scripts/shell_scripts/
bash create_db.sh
bash update_db.sh
cd $root_dir
cd orm/services/region_manager/scripts/shell_scripts/
bash create_db.sh
bash update_db.sh
cd $root_dir
cd orm/services/resource_distributor/scripts/shell_scripts/
bash create_db.sh
bash update_db.sh
echo "Databases Created!"
cd $tools_dir