summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2015-06-19 20:33:13 -0300
committerSilvio Rhatto <rhatto@riseup.net>2015-06-19 20:33:13 -0300
commit161f3db6d34f705203188fec879d5ec25aca8ece (patch)
tree51f577def334ca1524823a0b11308b613e1361bf /manifests
parenta4f400c226d1eb6eaf1a35a3b35a0df9b8be12b9 (diff)
downloadpuppet-trac-161f3db6d34f705203188fec879d5ec25aca8ece.tar.gz
puppet-trac-161f3db6d34f705203188fec879d5ec25aca8ece.tar.bz2
Adds trac-git on wheezy
Diffstat (limited to 'manifests')
-rw-r--r--manifests/init.pp19
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,
}