aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2010-01-31 20:09:33 -0200
committerSilvio Rhatto <rhatto@riseup.net>2010-01-31 20:09:33 -0200
commit93d2d49567c3ae12db96526650cdc6459d21d62d (patch)
tree2ec6ecc25a885ddaa8d29626ffa5371b8a90854b /templates
parent6717b36af2e08b24e33a8af836ec7afa9d23819d (diff)
downloadpuppet-ikiwiki-93d2d49567c3ae12db96526650cdc6459d21d62d.tar.gz
puppet-ikiwiki-93d2d49567c3ae12db96526650cdc6459d21d62d.tar.bz2
Adding parameters $account_creation_password, $add_plugins and $disable_plugins
Diffstat (limited to 'templates')
-rw-r--r--templates/ikiwiki.setup.erb5
1 files changed, 3 insertions, 2 deletions
diff --git a/templates/ikiwiki.setup.erb b/templates/ikiwiki.setup.erb
index 1bf684d..786dcbe 100644
--- a/templates/ikiwiki.setup.erb
+++ b/templates/ikiwiki.setup.erb
@@ -124,7 +124,7 @@ use IkiWiki::Setup::Standard {
# To create output files named page.html rather than page/index.html.
#usedirs => 0,
# Simple spam prevention: require an account-creation password.
- #account_creation_password => "example",
+<%= if account_creation_password != false %> account_creation_password => "<%= account_creation_password %>",<%= end %>
# Cost of generating a password using Authen::Passphrase::BlowfishCrypt
#password_cost => 8,
# Uncomment to force ikiwiki to run with a particular umask.
@@ -143,9 +143,10 @@ use IkiWiki::Setup::Standard {
# To add plugins, list them here.
#add_plugins => [qw{goodstuff search wikitext camelcase
# htmltidy fortune sidebar map rst anonok}],
+<%= if add_plugins != false %> add_plugins => [qw{<%= add_plugins %>}],<%= end %>
# If you want to disable any of the default plugins, list them here.
#disable_plugins => [qw{inline htmlscrubber passwordauth openid}],
- disable_plugins => [qw{openid}],
+<%= if disable_plugins != false %> disable_plugins => [qw{<%= disable_plugins %>}],<%= end %>
# To add a directory to the perl search path, use this.
#libdir => "/home/me/.ikiwiki/",