diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2015-06-19 18:15:21 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2015-06-19 18:15:21 -0300 |
commit | 4bf4de5ffa79bd0cdde7845ab37c641e43dd2e2f (patch) | |
tree | 271b9dbecb2637df1d5732cde590650270c5d99a | |
parent | e6f1bc67ca9a86dce0b17eb624c103e8ea702d2b (diff) | |
download | puppet-git-4bf4de5ffa79bd0cdde7845ab37c641e43dd2e2f.tar.gz puppet-git-4bf4de5ffa79bd0cdde7845ab37c641e43dd2e2f.tar.bz2 |
Gitolite package name varies depending on lsbdistcodename
-rw-r--r-- | manifests/gitolite.pp | 8 |
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 } |