Vagrant: Update Icinga 2 IDO config.

Fixes #4862
This commit is contained in:
Gunnar Beutner 2013-10-14 09:48:00 +02:00
parent 8894a77a19
commit e2472be153
2 changed files with 20 additions and 0 deletions

View File

@ -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"
}

View File

@ -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; \