aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/cgit.pp5
1 files changed, 4 insertions, 1 deletions
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,
+ }
}
}