From 52c3f4fc7563afec8d74d37e928a3b8d8d773229 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Tue, 26 Dec 2023 01:55:37 -0300 Subject: Fix: updates for Debian bookworm --- manifests/init.pp | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/manifests/init.pp b/manifests/init.pp index 312c54f..b89bcd5 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -4,12 +4,18 @@ class trac { package { "libapache2-mod-python": ensure => installed, } # Needed by http://trac-hacks.org/wiki/TracWikiToPdfPlugin - package { [ "htmldoc", "python-clearsilver" ]: + package { [ "htmldoc", ]: ensure => present, } - # Various plugins - package { [ "trac-wysiwyg", "trac-graphviz", "trac-authopenid" ]: + # Needed by http://trac-hacks.org/wiki/TracWikiToPdfPlugin + # Currently not available (as of 202312) + package { [ "python-clearsilver", ]: + ensure => absent, + } + + # Various available plugins + package { [ "trac-wysiwyg", ]: ensure => $lsbdistcodename ? { 'lenny' => absent, 'precise' => absent, @@ -17,6 +23,15 @@ class trac { }, } + # Various unavailable plugins + package { [ "trac-graphviz", "trac-authopenid" ]: + ensure => $lsbdistcodename ? { + 'lenny' => absent, + 'precise' => absent, + default => absent, + }, + } + # Bugwarrior integration package { "trac-xmlrpc": ensure => present, -- cgit v1.2.3