diff options
Diffstat (limited to 'manifests/init.pp')
-rw-r--r-- | manifests/init.pp | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/manifests/init.pp b/manifests/init.pp index 58d2194..7aff6fd 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -1,16 +1,15 @@ class trac { - # the needed packages + # The needed packages package { "trac": ensure => installed, } package { "libapache2-mod-python": ensure => installed, } - # needed by http://trac-hacks.org/wiki/TracWikiToPdfPlugin + # Needed by http://trac-hacks.org/wiki/TracWikiToPdfPlugin package { [ "htmldoc", "python-clearsilver" ]: ensure => present, } - # various plugins - package { [ "trac-wysiwyg", - "trac-graphviz", "trac-authopenid" ]: + # Various plugins + package { [ "trac-wysiwyg", "trac-graphviz", "trac-authopenid" ]: ensure => $lsbdistcodename ? { 'lenny' => absent, 'precise' => absent, @@ -18,6 +17,14 @@ class trac { }, } + # Available just on wheezy + package { 'trac-git': + ensure => $::lsbdistcodename ? { + 'wheezy' => present, + default => absent, + }, + } + # Available just on squeeze package { "trac-wikirename": ensure => $lsbdistcodename ? { @@ -26,7 +33,7 @@ class trac { }, } - # buggy squeeze packages, use eggs instead + # Buggy squeeze packages, use eggs instead package { [ "trac-mastertickets", "trac-accountmanager" ]: ensure => absent, } |