aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/gitolite.pp8
1 files changed, 7 insertions, 1 deletions
diff --git a/manifests/gitolite.pp b/manifests/gitolite.pp
index 64220c1..d5f448d 100644
--- a/manifests/gitolite.pp
+++ b/manifests/gitolite.pp
@@ -28,7 +28,13 @@ class git::gitolite inherits git {
}
# the needed packages
- package { "gitolite3": ensure => installed }
+ package { "gitolite":
+ name => $::lsbdistcodename ? {
+ 'wheezy' => 'gitolite',
+ default => 'gitolite3',
+ },
+ ensure => installed
+ }
# make sure this is not installed
package { "gitosis": ensure => purged }