From: Silvio Rhatto Date: Fri, 28 Jun 2013 17:10:14 +0000 (-0300) Subject: Ensure config file exists X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=fc53a4aa962f1ee3bdcc8c2a66cbc96efd52ca51;p=puppet-pmwiki.git Ensure config file exists --- diff --git a/templates/pmwiki.sh.erb b/templates/pmwiki.sh.erb index 789f6cb..022a7e6 100644 --- a/templates/pmwiki.sh.erb +++ b/templates/pmwiki.sh.erb @@ -111,10 +111,12 @@ function pmwiki_install { # Create folder structure ( mkdir -p $SITES/$site/wiki + cd $SITES/$site/wiki ln -s field.php index.php mkdir -p local uploads wiki.d cookbook chown $site. wiki.d + touch local/config.php chown root.$site local/config.php )