bareos: bareos-13.2 4338d7c6

Author Committer Branch Timestamp Parent
joergs mvwieringen bareos-13.2 2014-04-09 12:52 bareos-13.2 e52dd29a Pending
Changeset Use config file settings to configure database

Let the database configuration scripts get the configuration parameter from the director config file.
Now, the scripts try to get there values in following order:
  1. environment variable (db_name, db_user, db_password)
  2. director config file
  3. fallback value (from configure)

Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>
mod - scripts/bareos-config-lib.sh.in Diff File
mod - src/cats/create_bareos_database.in Diff File
mod - src/cats/ddl/creates/mysql.sql Diff File
mod - src/cats/ddl/creates/postgresql.sql Diff File
mod - src/cats/ddl/creates/sqlite3.sql Diff File
mod - src/cats/ddl/grants/mysql-readonly.sql Diff File
mod - src/cats/ddl/grants/mysql.sql Diff File
mod - src/cats/ddl/updates/mysql.2001_2002.sql Diff File
mod - src/cats/drop_bareos_database.in Diff File
mod - src/cats/drop_bareos_tables.in Diff File
mod - src/cats/grant_bareos_privileges.in Diff File
mod - src/cats/make_bareos_tables.in Diff File
mod - src/cats/update_bareos_tables.in Diff File