diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2013-06-28 14:10:14 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2013-06-28 14:10:14 -0300 |
commit | fc53a4aa962f1ee3bdcc8c2a66cbc96efd52ca51 (patch) | |
tree | 1353bb490e75ba535dacf3bb844092e8806cf1d5 | |
parent | 228427cd2109fd711f19f2714d9d7e3c44826143 (diff) | |
download | puppet-pmwiki-fc53a4aa962f1ee3bdcc8c2a66cbc96efd52ca51.tar.gz puppet-pmwiki-fc53a4aa962f1ee3bdcc8c2a66cbc96efd52ca51.tar.bz2 |
Ensure config file exists
-rw-r--r-- | templates/pmwiki.sh.erb | 2 |
1 files changed, 2 insertions, 0 deletions
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 ) |