summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2023-12-26 01:55:37 -0300
committerSilvio Rhatto <rhatto@riseup.net>2023-12-26 01:55:37 -0300
commit52c3f4fc7563afec8d74d37e928a3b8d8d773229 (patch)
treed506c925148192628ba9c981781f938efea63d30
parent056fdee7eca6ddea411caa1a2316760beafc86fb (diff)
downloadpuppet-trac-master.tar.gz
puppet-trac-master.tar.bz2
Fix: updates for Debian bookwormHEADmaster
-rw-r--r--manifests/init.pp21
1 files 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,