mirror of
https://github.com/Icinga/icinga2.git
synced 2025-04-08 17:05:25 +02:00
Set default values for IdoMysqlConnection config attributes.
This commit is contained in:
parent
1f0bf17c0f
commit
1e3ef346c9
@ -5,11 +5,21 @@ namespace icinga
|
|||||||
|
|
||||||
class IdoMysqlConnection : DbConnection
|
class IdoMysqlConnection : DbConnection
|
||||||
{
|
{
|
||||||
[config] String host;
|
[config] String host {
|
||||||
[config] int port;
|
default {{{ return "localhost"; }}}
|
||||||
[config] String user;
|
};
|
||||||
[config] String password;
|
[config] int port {
|
||||||
[config] String database;
|
default {{{ return 3306; }}}
|
||||||
|
};
|
||||||
|
[config] String user {
|
||||||
|
default {{{ return "icinga"; }}}
|
||||||
|
};
|
||||||
|
[config] String password {
|
||||||
|
default {{{ return "icinga"; }}}
|
||||||
|
};
|
||||||
|
[config] String database {
|
||||||
|
default {{{ return "icinga"; }}}
|
||||||
|
};
|
||||||
[config] String instance_name {
|
[config] String instance_name {
|
||||||
default {{{ return "default"; }}}
|
default {{{ return "default"; }}}
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user