diff options
-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, |