mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-25 14:44:32 +02:00
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']
|
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':
|
exec { 'Enable Icinga 2 features':
|
||||||
command => 'i2enfeature statusdat; \
|
command => 'i2enfeature statusdat; \
|
||||||
i2enfeature compat-log; \
|
i2enfeature compat-log; \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user