From 2576a3bc32d06b08180695a65da476f71f939773 Mon Sep 17 00:00:00 2001 From: Alexander Klimov Date: Wed, 10 Sep 2014 12:48:22 +0200 Subject: [PATCH] Module `icinga2_mysql': require `icinga2::config' refs #6842 --- .vagrant-puppet/modules/icinga2_mysql/manifests/init.pp | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.vagrant-puppet/modules/icinga2_mysql/manifests/init.pp b/.vagrant-puppet/modules/icinga2_mysql/manifests/init.pp index 8f6ff779f..55e4af58c 100644 --- a/.vagrant-puppet/modules/icinga2_mysql/manifests/init.pp +++ b/.vagrant-puppet/modules/icinga2_mysql/manifests/init.pp @@ -4,9 +4,10 @@ # # Requires: # -# icinga2 # icinga_packages +# icinga2 # icinga2::feature +# icinga2::config # mysql::database::populate # # Sample Usage: @@ -30,10 +31,8 @@ class icinga2_mysql { require => Package['icinga2-ido-mysql'], } - file { '/etc/icinga2/features-available/ido-mysql.conf': - source => 'puppet:///modules/icinga2_mysql/etc/icinga2/features-available/ido-mysql.conf', - owner => 'icinga', - group => 'icinga', + icinga2::config { 'features-available/ido-mysql': + source => 'puppet:///modules/icinga2_mysql', } icinga2::feature { 'ido-mysql':