From a417373bb73e90799e7a5059d493f0f66f3f2a42 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Wed, 10 Apr 2013 15:36:00 -0300 Subject: Update exec references --- manifests/instance.pp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/manifests/instance.pp b/manifests/instance.pp index 860a738..d797f2e 100644 --- a/manifests/instance.pp +++ b/manifests/instance.pp @@ -16,7 +16,7 @@ define ikiwiki::instance($base_url = $domain, $ensure = 'present', $description owner => root, group => $owner, mode => 640, - notify => Exec["ikiwiki_refresh_${name}"], + notify => Exec["ikiwiki_refresh_${name}_${instance}"], } exec { "ikiwiki_refresh_${name}_${instance}": @@ -38,7 +38,7 @@ define ikiwiki::instance($base_url = $domain, $ensure = 'present', $description owner => $owner, group => $group, recurse => true, - notify => Exec["ikiwiki_refresh_${name}"], + notify => Exec["ikiwiki_refresh_${name}_${instance}"], require => File["${ikiwiki::sites_folder}/${name}"], } } -- cgit v1.2.3