aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2010-01-06 23:06:12 -0200
committerSilvio Rhatto <rhatto@riseup.net>2010-01-06 23:06:12 -0200
commit15ada7b0e17a61a78b3f3f40405da50b525711d2 (patch)
tree6ecd79543671f0abe379f11ee2e2794802588d54
parente7cb458bf494cda625ec1600e859a3eadea65575 (diff)
downloadpuppet-ikiwiki-15ada7b0e17a61a78b3f3f40405da50b525711d2.tar.gz
puppet-ikiwiki-15ada7b0e17a61a78b3f3f40405da50b525711d2.tar.bz2
Misc fixes
-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,