From d09e65b7be73483f2ac98c36c886cae9c78459a7 Mon Sep 17 00:00:00 2001 From: Alexander Klimov Date: Mon, 15 Sep 2014 11:16:47 +0200 Subject: [PATCH] icinga2_mysql: change requirement syntax refs #6842 --- .vagrant-puppet/modules/icinga2_mysql/manifests/init.pp | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.vagrant-puppet/modules/icinga2_mysql/manifests/init.pp b/.vagrant-puppet/modules/icinga2_mysql/manifests/init.pp index 1ddc9440e..acef7a5c1 100644 --- a/.vagrant-puppet/modules/icinga2_mysql/manifests/init.pp +++ b/.vagrant-puppet/modules/icinga2_mysql/manifests/init.pp @@ -22,17 +22,13 @@ class icinga2_mysql { ensure => latest, require => Class['icinga_packages'], } - - mysql::database::populate { 'icinga2': + -> mysql::database::populate { 'icinga2': username => 'icinga2', password => 'icinga2', privileges => 'SELECT,INSERT,UPDATE,DELETE', 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', - require => Mysql::Database::Populate['icinga2'], } }