diff options
-rw-r--r-- | manifests/instance.pp | 4 |
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}"], } } |