diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2011-03-01 15:24:28 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2011-03-01 15:24:28 -0300 |
commit | 94094310b4575592b9af8d81c2b8577e88b86c83 (patch) | |
tree | b9ecaee90ec7af0c1aed27894d5611a6fdf7d1a5 /templates | |
parent | 61bbe6530eaf19bfedb09a923184763e130bf6c9 (diff) | |
download | puppet-ikiwiki-94094310b4575592b9af8d81c2b8577e88b86c83.tar.gz puppet-ikiwiki-94094310b4575592b9af8d81c2b8577e88b86c83.tar.bz2 |
Adding protocol parameter
Diffstat (limited to 'templates')
-rw-r--r-- | templates/ikiwiki.setup.erb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/ikiwiki.setup.erb b/templates/ikiwiki.setup.erb index 3e7943c..56d5ad2 100644 --- a/templates/ikiwiki.setup.erb +++ b/templates/ikiwiki.setup.erb @@ -14,8 +14,8 @@ use IkiWiki::Setup::Standard { srcdir => "<%= apache_sites_folder %>/<%= name %>/ikiwiki_src", destdir => "<%= apache_sites_folder %>/<%= name %>/ikiwiki", - url => "http://<%= name %>.<%= base_url %>", - cgiurl => "http://<%= name %>.<%= base_url %>/ikiwiki.cgi", + url => "<%= protocol %>://<%= name %>.<%= base_url %>", + cgiurl => "<%= protocol %>://<%= name %>.<%= base_url %>/ikiwiki.cgi", #templatedir => "/usr/share/ikiwiki/templates", #underlaydir => "/usr/share/ikiwiki/basewiki", @@ -28,8 +28,8 @@ use IkiWiki::Setup::Standard { # Git stuff. rcs => "git", - historyurl => "http://git.<%= base_url %>/?p=<%= name %>.git;a=history;f=[[file]]", - diffurl => "http://git.<%= base_url %>/?p=<%= name %>.git;a=blobdiff;h=[[sha1_to]];hp=[[sha1_from]];hb=[[sha1_parent]];f=[[file]]", + historyurl => "<%= protocol %>://git.<%= base_url %>/?p=<%= name %>.git;a=history;f=[[file]]", + diffurl => "<%= protocol %>://git.<%= base_url %>/?p=<%= name %>.git;a=blobdiff;h=[[sha1_to]];hp=[[sha1_from]];hb=[[sha1_parent]];f=[[file]]", #gitorigin_branch => "origin", #gitmaster_branch => "master", |