aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/init.pp8
1 files changed, 4 insertions, 4 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 35b7b8d..edfba03 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -32,10 +32,10 @@ class ikiwiki {
}
exec { "/usr/local/sbin/ikiwiki-deploy $name":
- unless => "/bin/sh -c [ -f '${apache_sites_folder}/${name}_src/index.mdw' ]",
+ unless => "/bin/sh -c [ -f '${apache_sites_folder}/${name}/ikiwiki_src/index.mdw' ]",
}
- if !defined(File["${apache_sites_folder}/${name}_src"]) {
+ if !defined(File["${apache_sites_folder}/${name}/ikiwiki_src"]) {
file { "${apache_sites_folder}/${name}_src":
ensure => directory,
owner => gitosis,
@@ -45,8 +45,8 @@ class ikiwiki {
}
}
- if !defined(File["${apache_sites_folder}/${name}"]) {
- file { "${apache_sites_folder}/${name}":
+ if !defined(File["${apache_sites_folder}/${name}/ikiwiki"]) {
+ file { "${apache_sites_folder}/${name}/ikiwiki":
ensure => directory,
owner => gitosis,
group => gitosis,