From 94953980a78efb63b154041683c4adc998824790 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Mon, 27 Jan 2014 17:22:49 -0200 Subject: Use the latest git package --- manifests/utils.pp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'manifests') diff --git a/manifests/utils.pp b/manifests/utils.pp index d42d5d6..9f988da 100644 --- a/manifests/utils.pp +++ b/manifests/utils.pp @@ -12,9 +12,16 @@ class nodo::utils { # ensure => installed, #} + # Obsolete if !defined(Package['git-core']) { package { 'git-core': - ensure => installed, + ensure => absent, + } + } + + if !defined(Package['git']) { + package { 'git': + ensure => latest, } } -- cgit v1.2.3