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
|
||||
{
|
||||
[config] String host;
|
||||
[config] int port;
|
||||
[config] String user;
|
||||
[config] String password;
|
||||
[config] String database;
|
||||
[config] String host {
|
||||
default {{{ return "localhost"; }}}
|
||||
};
|
||||
[config] int port {
|
||||
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 {
|
||||
default {{{ return "default"; }}}
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user