bacula: Added postgresql support to bacula::web.
This commit is contained in:
parent
9a81434b7e
commit
22fe5d29bf
2 changed files with 9 additions and 0 deletions
|
@ -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 -%>
|
||||
|
||||
?>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue