diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2023-12-26 01:55:37 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2023-12-26 01:55:37 -0300 |
commit | 52c3f4fc7563afec8d74d37e928a3b8d8d773229 (patch) | |
tree | d506c925148192628ba9c981781f938efea63d30 /manifests | |
parent | 056fdee7eca6ddea411caa1a2316760beafc86fb (diff) | |
download | puppet-trac-52c3f4fc7563afec8d74d37e928a3b8d8d773229.tar.gz puppet-trac-52c3f4fc7563afec8d74d37e928a3b8d8d773229.tar.bz2 |
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/init.pp | 21 |
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, |