From 15ada7b0e17a61a78b3f3f40405da50b525711d2 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Wed, 6 Jan 2010 23:06:12 -0200 Subject: Misc fixes --- manifests/init.pp | 8 ++++---- 1 file 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, -- cgit v1.2.3