diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2013-04-10 13:13:54 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2013-04-10 13:13:54 -0300 |
commit | 3b636391f7ea17d89f15a4ede65a82eeef44198b (patch) | |
tree | 0c25ae4bab7676e5fb2b685e1cb3529709b2b7f7 /templates/deploy.sh.erb | |
parent | 6a1d968b0b695343e0e5e868720d6c329c55a611 (diff) | |
download | puppet-ikiwiki-3b636391f7ea17d89f15a4ede65a82eeef44198b.tar.gz puppet-ikiwiki-3b636391f7ea17d89f15a4ede65a82eeef44198b.tar.bz2 |
Refactor to not use setuid and not bypass the git daemon
Diffstat (limited to 'templates/deploy.sh.erb')
-rw-r--r-- | templates/deploy.sh.erb | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/templates/deploy.sh.erb b/templates/deploy.sh.erb index 91aee0e..4ebbf1d 100644 --- a/templates/deploy.sh.erb +++ b/templates/deploy.sh.erb @@ -5,10 +5,6 @@ INSTANCE="$2" BASE="<%= scope.lookupvar('ikiwiki::sites_folder') %>" SITE=$BASE/$NAME CONF="/etc/ikiwiki" -WEB_OWNER="www-data" -WEB_GROUP="www-data" -REPO_OWNER="<%= scope.lookupvar('ikiwiki::git_implementation') %>" -REPO_GROUP="<%= scope.lookupvar('ikiwiki::git_implementation') %>" REPO="/var/git/repositories/$NAME.git" if [ -z "$INSTANCE" ]; then @@ -43,6 +39,3 @@ if [ ! -d "$REPO" ]; then touch $REPO/git-daemon-export-ok ( cd $REPO/$NAME.git && git --bare update-server-info ) fi - -# Refresh the instance -ikiwiki-refresh $NAME $INSTANCE |