diff options
-rw-r--r-- | src/lib/Bcfg2/Server/Reports/settings.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/Bcfg2/Server/Reports/settings.py b/src/lib/Bcfg2/Server/Reports/settings.py index 4d567f1a2..26bd5076e 100644 --- a/src/lib/Bcfg2/Server/Reports/settings.py +++ b/src/lib/Bcfg2/Server/Reports/settings.py @@ -43,6 +43,9 @@ DATABASES = { } } +if db_engine == 'ibm_db_django': + DATABASES['default']['ENGINE'] = db_engine + if db_engine != 'sqlite3': DATABASES['default']['USER'] = c.get('statistics', 'database_user') DATABASES['default']['PASSWORD'] = c.get('statistics', 'database_password') |