From: Silvio Rhatto Date: Sat, 20 Jun 2015 16:43:03 +0000 (-0300) Subject: Use cgit only if not on wheezy X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=10aebd67db68de28986bae28311347653c01d0d4;p=puppet-git.git Use cgit only if not on wheezy --- diff --git a/manifests/cgit.pp b/manifests/cgit.pp index 0430190..07e664e 100644 --- a/manifests/cgit.pp +++ b/manifests/cgit.pp @@ -2,6 +2,9 @@ # http://ao2.it/en/blog/2011/05/06/migrate-gitweb-cgit-url-rewrite-rules class git::cgit { package { 'cgit': - ensure => present, + ensure => $::lsbdistcodename ? { + 'wheezy' => absent, + default => present, + } } }