]> gitweb.fluxo.info Git - puppet-trac.git/commitdiff
Adds trac-git on wheezy
authorSilvio Rhatto <rhatto@riseup.net>
Fri, 19 Jun 2015 23:33:13 +0000 (20:33 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Fri, 19 Jun 2015 23:33:13 +0000 (20:33 -0300)
manifests/init.pp

index 58d2194aa8d26c44b3aa5c049555f97521f16a68..7aff6fde4ab695080613072cadf76125ef08e7f8 100644 (file)
@@ -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,
   }