diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2010-01-06 23:06:12 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2010-01-06 23:06:12 -0200 |
commit | 15ada7b0e17a61a78b3f3f40405da50b525711d2 (patch) | |
tree | 6ecd79543671f0abe379f11ee2e2794802588d54 | |
parent | e7cb458bf494cda625ec1600e859a3eadea65575 (diff) | |
download | puppet-ikiwiki-15ada7b0e17a61a78b3f3f40405da50b525711d2.tar.gz puppet-ikiwiki-15ada7b0e17a61a78b3f3f40405da50b525711d2.tar.bz2 |
Misc fixes
-rw-r--r-- | manifests/init.pp | 8 |
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, |