From cfaad099cb0b42f7edf699e8c0cf8ffccbaed041 Mon Sep 17 00:00:00 2001 From: Alexander Klimov Date: Thu, 12 Feb 2015 11:52:55 +0100 Subject: [PATCH] Puppet: icinga2_mysql: instantiate icinga2::config manually as icinga2::feature doesn't have the parameter $source anymore --- .puppet/modules/icinga2_mysql/manifests/init.pp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.puppet/modules/icinga2_mysql/manifests/init.pp b/.puppet/modules/icinga2_mysql/manifests/init.pp index acef7a5c1..e076af873 100644 --- a/.puppet/modules/icinga2_mysql/manifests/init.pp +++ b/.puppet/modules/icinga2_mysql/manifests/init.pp @@ -28,7 +28,8 @@ class icinga2_mysql { privileges => 'SELECT,INSERT,UPDATE,DELETE', schemafile => '/usr/share/icinga2-ido-mysql/schema/mysql.sql', } - -> icinga2::feature { 'ido-mysql': + -> icinga2::config { 'features-available/ido-mysql': source => 'puppet:///modules/icinga2_mysql', } + -> icinga2::feature { 'ido-mysql': } }