class trac { # the needed packages package { "trac": ensure => installed, } package { "trac-git": ensure => installed, } package { "libapache2-mod-python": ensure => installed, } # needed by http://trac-hacks.org/wiki/TracWikiPrintPlugin # wikiprint needs also pisa, which is still in testing (as the # time of writing), see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=504277 #package { [ 'python-reportlab', 'python-html5lib', 'python-pypdf', 'python-imaging', 'python-pygments' ]: # ensure => installed, #} # needed by http://trac-hacks.org/wiki/TracWikiToPdfPlugin package { [ "htmldoc", "python-clearsilver" ]: ensure => present, } # various plugins package { [ "trac-wysiwyg", "trac-wikiprint", "trac-wikirename", "trac-graphviz" ]: ensure => $lsbdistcodename ? { 'lenny' => absent, 'precise' => absent, default => present, }, } # buggy squeeze packages, use eggs instead package { [ "trac-mastertickets", "trac-accountmanager" ]: ensure => absent, } }