diff options
| author | Silvio Rhatto <rhatto@riseup.net> | 2014-01-27 17:22:49 -0200 | 
|---|---|---|
| committer | Silvio Rhatto <rhatto@riseup.net> | 2014-01-27 17:22:49 -0200 | 
| commit | 94953980a78efb63b154041683c4adc998824790 (patch) | |
| tree | 717d2caf27539f7a37de3286f98bcedb44f47931 | |
| parent | a0ed6865e402c25419e0a81769f07ae0f1598d8a (diff) | |
| download | puppet-nodo-94953980a78efb63b154041683c4adc998824790.tar.gz puppet-nodo-94953980a78efb63b154041683c4adc998824790.tar.bz2 | |
Use the latest git package
| -rw-r--r-- | manifests/utils.pp | 9 | 
1 files changed, 8 insertions, 1 deletions
| 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,      }    } | 
