From db83eb05309920bf1b3a139fe953882200878b46 Mon Sep 17 00:00:00 2001
From: Guilhem Moulin <guilhem@fripost.org>
Date: Fri, 5 Jun 2015 18:32:24 +0200
Subject: wiki: enable comments in the tracker.

---
 roles/wiki/files/var/lib/ikiwiki/fripost-wiki.setup | 3 ++-
 roles/wiki/tasks/main.yml                           | 1 +
 2 files changed, 3 insertions(+), 1 deletion(-)

(limited to 'roles')

diff --git a/roles/wiki/files/var/lib/ikiwiki/fripost-wiki.setup b/roles/wiki/files/var/lib/ikiwiki/fripost-wiki.setup
index dc82e28..fb61c59 100644
--- a/roles/wiki/files/var/lib/ikiwiki/fripost-wiki.setup
+++ b/roles/wiki/files/var/lib/ikiwiki/fripost-wiki.setup
@@ -50,6 +50,7 @@ add_plugins:
   - highlight
   - toc
   - htmlbalance
+  - comments
   ###
   - isWebsite
 # plugins to disable
@@ -265,7 +266,7 @@ virus_checker: clamdscan -
 
 # comments plugin
 # PageSpec of pages where comments are allowed
-#comments_pagespec: blog/* and !*/Discussion
+comments_pagespec: tracker/*
 # PageSpec of pages where posting new comments is not allowed
 #comments_closed_pagespec: blog/controversial or blog/flamewar
 # Base name for comments, e.g. "comment_" for pages like "sandbox/comment_12"
diff --git a/roles/wiki/tasks/main.yml b/roles/wiki/tasks/main.yml
index 8622ebd..c8a0d0f 100644
--- a/roles/wiki/tasks/main.yml
+++ b/roles/wiki/tasks/main.yml
@@ -4,6 +4,7 @@
     - ikiwiki
     - highlight-common
     - libhighlight-perl
+    - libimage-magick-perl
     - fcgiwrap
 
 - name: Create a user 'ikiwiki'
-- 
cgit v1.2.3