Create skeleton case statement for DB schema loading later on.
This commit is contained in:
parent
cd067dced4
commit
8d400511a1
1 changed files with 13 additions and 0 deletions
|
@ -98,4 +98,17 @@ class icinga2::server::install::execs inherits icinga2::server {
|
|||
|
||||
include icinga2::params
|
||||
|
||||
case $icinga::params::server_db_type {
|
||||
#Schema loading for MySQL:
|
||||
'mysql': {
|
||||
|
||||
}
|
||||
#Schema loading for Postgres:
|
||||
'pgsql': {
|
||||
|
||||
}
|
||||
|
||||
default: { fail("${icinga2::params::server_db_type} is not supported!") }
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in a new issue