]> gitweb.fluxo.info Git - puppet-trac.git/commitdiff
Adds trac::wikiprint
authorSilvio Rhatto <rhatto@riseup.net>
Fri, 19 Jun 2015 23:31:38 +0000 (20:31 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Fri, 19 Jun 2015 23:31:38 +0000 (20:31 -0300)
manifests/wikiprint.pp [new file with mode: 0644]

diff --git a/manifests/wikiprint.pp b/manifests/wikiprint.pp
new file mode 100644 (file)
index 0000000..48253b8
--- /dev/null
@@ -0,0 +1,15 @@
+class trac::wikiprint {
+  # 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,
+  #}
+
+  package { 'trac-wikiprint':
+    ensure  => $::lsbdistcodename ? {
+      'jessie' => absent,
+      default  => present,
+    },
+  }
+}