parent
f5a232f3a7
commit
d09e65b7be
|
@ -22,17 +22,13 @@ class icinga2_mysql {
|
||||||
ensure => latest,
|
ensure => latest,
|
||||||
require => Class['icinga_packages'],
|
require => Class['icinga_packages'],
|
||||||
}
|
}
|
||||||
|
-> mysql::database::populate { 'icinga2':
|
||||||
mysql::database::populate { 'icinga2':
|
|
||||||
username => 'icinga2',
|
username => 'icinga2',
|
||||||
password => 'icinga2',
|
password => 'icinga2',
|
||||||
privileges => 'SELECT,INSERT,UPDATE,DELETE',
|
privileges => 'SELECT,INSERT,UPDATE,DELETE',
|
||||||
schemafile => '/usr/share/icinga2-ido-mysql/schema/mysql.sql',
|
schemafile => '/usr/share/icinga2-ido-mysql/schema/mysql.sql',
|
||||||
require => Package['icinga2-ido-mysql'],
|
|
||||||
}
|
}
|
||||||
|
-> icinga2::feature { 'ido-mysql':
|
||||||
icinga2::feature { 'ido-mysql':
|
|
||||||
source => 'puppet:///modules/icinga2_mysql',
|
source => 'puppet:///modules/icinga2_mysql',
|
||||||
require => Mysql::Database::Populate['icinga2'],
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue