aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-04-10 15:36:00 -0300
committerSilvio Rhatto <rhatto@riseup.net>2013-04-10 15:36:00 -0300
commita417373bb73e90799e7a5059d493f0f66f3f2a42 (patch)
tree2b2741766374b1ac7567f873b31b59d5a10a682d
parentb050ea66e5ddffc2d7c25cc8cf1cd3f6460e3c65 (diff)
downloadpuppet-ikiwiki-a417373bb73e90799e7a5059d493f0f66f3f2a42.tar.gz
puppet-ikiwiki-a417373bb73e90799e7a5059d493f0f66f3f2a42.tar.bz2
Update exec references
-rw-r--r--manifests/instance.pp4
1 files 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}"],
}
}