summaryrefslogtreecommitdiff
path: root/manifests/init.pp
blob: 9ca02d5c3de1e8af713f15fcb533b0a964a23632 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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-mastertickets", "trac-accountmanager" ]:
    ensure => $lsbdistcodename ? {
      'lenny' => absent,
      default => present,
    },
  }
}