setting consistant server_db_type failure message
Signed-off-by: Nick Chappell <nick@intronic.org>
This commit is contained in:
parent
811aee0280
commit
462c965229
1 changed files with 3 additions and 3 deletions
|
@ -44,7 +44,7 @@ class icinga2::server (
|
|||
case $server_db_type {
|
||||
'mysql': { $server_db_schema_path = '/usr/share/icinga2-ido-mysql/schema/mysql.sql' }
|
||||
'pgsql': { $server_db_schema_path = '/usr/share/icinga2-ido-pgsql/schema/pgsql.sql' }
|
||||
default: { fail("${server_db_type} is not supported") }
|
||||
default: { fail("${server_db_type} is not a supported database! Please specify either 'mysql' for MySQL or 'pgsql' for Postgres.") }
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -54,7 +54,7 @@ class icinga2::server (
|
|||
case $server_db_type {
|
||||
'mysql': { $server_db_schema_path = '/usr/share/icinga2-ido-mysql/schema/mysql.sql' }
|
||||
'pgsql': { $server_db_schema_path = '/usr/share/icinga2-ido-pgsql/schema/pgsql.sql' }
|
||||
default: { fail("${server_db_type} is not supported") }
|
||||
default: { fail("${server_db_type} is not a supported database! Please specify either 'mysql' for MySQL or 'pgsql' for Postgres.") }
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -64,7 +64,7 @@ class icinga2::server (
|
|||
case $server_db_type {
|
||||
'mysql': { $server_db_schema_path = '/usr/share/icinga2-ido-mysql/schema/mysql.sql' }
|
||||
'pgsql': { $server_db_schema_path = '/usr/share/icinga2-ido-pgsql/schema/pgsql.sql' }
|
||||
default: { fail("${server_db_type} is not supported") }
|
||||
default: { fail("${server_db_type} is not a supported database! Please specify either 'mysql' for MySQL or 'pgsql' for Postgres.") }
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue