From f6a9c67fa21ea78b289d965442976f99b8892319 Mon Sep 17 00:00:00 2001 From: Alexander Klimov Date: Thu, 28 Aug 2014 13:08:42 +0200 Subject: [PATCH] Clean up `icinga2::feature' refs #6842 --- .vagrant-puppet/modules/icinga2/manifests/feature.pp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.vagrant-puppet/modules/icinga2/manifests/feature.pp b/.vagrant-puppet/modules/icinga2/manifests/feature.pp index 0f28771e7..e6ca49784 100644 --- a/.vagrant-puppet/modules/icinga2/manifests/feature.pp +++ b/.vagrant-puppet/modules/icinga2/manifests/feature.pp @@ -1,9 +1,11 @@ define icinga2::feature ($feature = $title) { + include icinga2 + exec { "icinga2-feature-${feature}": path => '/bin:/usr/bin:/sbin:/usr/sbin', unless => "readlink /etc/icinga2/features-enabled/${feature}.conf", command => "icinga2-enable-feature ${feature}", - require => [ Package['icinga2'] ], + require => Package['icinga2'], notify => Service['icinga2'] } }