aboutsummaryrefslogtreecommitdiff
path: root/templates/refresh.sh.erb
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-04-11 20:44:59 -0300
committerSilvio Rhatto <rhatto@riseup.net>2013-04-11 20:44:59 -0300
commit2d304317118ecb8296bcc3ed489dea7af7828b03 (patch)
treeb6a156f3ddb2455d7a4fb7471064f877df85f03b /templates/refresh.sh.erb
parentff2ef8f403968e16d662676f4dfbbdd991270804 (diff)
downloadpuppet-ikiwiki-2d304317118ecb8296bcc3ed489dea7af7828b03.tar.gz
puppet-ikiwiki-2d304317118ecb8296bcc3ed489dea7af7828b03.tar.bz2
Adding git_folder parameter
Diffstat (limited to 'templates/refresh.sh.erb')
-rw-r--r--templates/refresh.sh.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/refresh.sh.erb b/templates/refresh.sh.erb
index 10b96c1..7e7adf6 100644
--- a/templates/refresh.sh.erb
+++ b/templates/refresh.sh.erb
@@ -14,7 +14,7 @@ WWW_USER="<%= scope.lookupvar('ikiwiki::www_user') %>"
BASE="<%= scope.lookupvar('ikiwiki::sites_folder') %>"
REPO_OWNER="<%= scope.lookupvar('ikiwiki::git_implementation') %>"
REPO_GROUP="<%= scope.lookupvar('ikiwiki::git_implementation') %>"
-REPO="/var/git/repositories/$NAME.git"
+REPO="<%= scope.lookupvar('ikiwiki::git_folder') %>/$NAME.git"
# Syntax check
if [ -z "$INSTANCE" ]; then