mirror of https://github.com/Icinga/icinga2.git
parent
8894a77a19
commit
e2472be153
|
@ -0,0 +1,13 @@
|
|||
/**
|
||||
* The ido_mysql library implements IDO functionality
|
||||
* for MySQL.
|
||||
*/
|
||||
|
||||
library "db_ido_mysql"
|
||||
|
||||
object IdoMysqlConnection "ido-mysql" {
|
||||
user = "icinga",
|
||||
password = "icinga",
|
||||
host = "localhost",
|
||||
database = "icinga"
|
||||
}
|
|
@ -109,6 +109,13 @@ service { 'icinga2':
|
|||
require => Package['icinga2']
|
||||
}
|
||||
|
||||
# icinga 2 IDO config
|
||||
file { '/etc/icinga2/features-available/ido-mysql.conf':
|
||||
source => 'puppet:////vagrant/.vagrant-puppet/files/etc/icinga2/features-available/ido-mysql.conf',
|
||||
require => Package['icinga2'],
|
||||
notify => Service['icinga2']
|
||||
}
|
||||
|
||||
exec { 'Enable Icinga 2 features':
|
||||
command => 'i2enfeature statusdat; \
|
||||
i2enfeature compat-log; \
|
||||
|
|
Loading…
Reference in New Issue