From f2c8df0e429bb22106d660d457583c4dbc4a5a63 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Mon, 7 Jan 2013 15:49:20 -0200 Subject: Package trac-wikirename just available on squeeze --- manifests/init.pp | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/manifests/init.pp b/manifests/init.pp index d463a43..12e603f 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -17,7 +17,7 @@ class trac { } # various plugins - package { [ "trac-wysiwyg", "trac-wikiprint", "trac-wikirename", + package { [ "trac-wysiwyg", "trac-wikiprint", "trac-graphviz" ]: ensure => $lsbdistcodename ? { 'lenny' => absent, @@ -26,6 +26,14 @@ class trac { }, } + # Available just on squeeze + package { "trac-wikirename": + ensure => $lsbdistcodename ? { + 'squeeze' => present, + default => absent, + }, + } + # buggy squeeze packages, use eggs instead package { [ "trac-mastertickets", "trac-accountmanager" ]: ensure => absent, -- cgit v1.2.3