From: Silvio Rhatto Date: Mon, 27 Jan 2014 19:24:13 +0000 (-0200) Subject: Use the latest git package X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=ce695d39090a3cbaf980f04ae3aba42ab7755ba7;p=puppet-git.git Use the latest git package --- diff --git a/manifests/git.pp b/manifests/git.pp index e86de5e..5a3763d 100644 --- a/manifests/git.pp +++ b/manifests/git.pp @@ -1,9 +1,16 @@ # This class is the base for any other services handled by this module. class git { + # Obsolete if !defined(Package['git-core']) { package { 'git-core': - ensure => installed, + ensure => absent, + } + } + + if !defined(Package['git']) { + package { 'git': + ensure => latest, } } }