bacula: Added postgresql support to bacula::web.

This commit is contained in:
Timo Mkinen 2013-05-12 11:28:18 +03:00
parent 9a81434b7e
commit 22fe5d29bf
2 changed files with 9 additions and 0 deletions

View file

@ -19,7 +19,11 @@ $config[0]['host'] = '<%= @dbserver %>';
$config[0]['login'] = '<%= @dbuser %>';
$config[0]['password'] = '<%= @dbpassword %>';
$config[0]['db_name'] = '<%= @dbname %>';
<% if @dbadapter == 'postgresql' -%>
$config[0]['db_type'] = 'pgsql';
<% else -%>
$config[0]['db_type'] = 'mysql';
<% end -%>
<% end -%>
?>