icinga2_mysql: change requirement syntax

refs #6842
This commit is contained in:
Alexander Klimov 2014-09-15 11:16:47 +02:00
parent f5a232f3a7
commit d09e65b7be
1 changed files with 2 additions and 6 deletions

View File

@ -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'],
} }
} }