From: Silvio Rhatto Date: Mon, 25 Jan 2010 20:03:50 +0000 (-0200) Subject: Misc fixes X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=2505014e9878638d15926dff02cd00149ed3fd33;p=puppet-ikiwiki.git Misc fixes --- diff --git a/manifests/init.pp b/manifests/init.pp index 39acc04..2661953 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -19,6 +19,7 @@ class ikiwiki { $adminuser = 'yourname', $adminemail = 'me@example.org', $instance = 'ikiwiki') { $desc = $decription ? { + '' => $title, false => $title, default => $description, } diff --git a/templates/deploy.sh.erb b/templates/deploy.sh.erb index 69785d0..5386729 100644 --- a/templates/deploy.sh.erb +++ b/templates/deploy.sh.erb @@ -6,7 +6,9 @@ BASE="<%= apache_sites_folder %>" SITE=$BASE/$NAME CONF="/etc/ikiwiki" OWNER="gitosis" -GROUP="gitosis" +WEB_GROUP="www-data" +REPO_GROUP="gitosis" +REPO="/var/git/repositories/$NAME.git" if [ -z "$INSTANCE" ]; then echo "Usage:`basename $0` " @@ -20,7 +22,7 @@ fi mkdir -p $SITE/"$INSTANCE"_src/ # Create initial page -echo > $SITE/"$INSTANCE"_src/index.mdw < $SITE/"$INSTANCE"_src/index.mdwn <