diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2015-06-20 13:43:03 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2015-06-20 13:43:03 -0300 |
commit | 10aebd67db68de28986bae28311347653c01d0d4 (patch) | |
tree | 80c7a39a3eb0f7b5bdcfb0a27df297d6016f09db | |
parent | 4fd6d4d1ae74fb2f53d3bb986691a5b0f87e1cd1 (diff) | |
download | puppet-git-10aebd67db68de28986bae28311347653c01d0d4.tar.gz puppet-git-10aebd67db68de28986bae28311347653c01d0d4.tar.bz2 |
Use cgit only if not on wheezy
-rw-r--r-- | manifests/cgit.pp | 5 |
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, + } } } |