aboutsummaryrefslogtreecommitdiff
path: root/manifests/utils.pp
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2014-01-27 17:22:49 -0200
committerSilvio Rhatto <rhatto@riseup.net>2014-01-27 17:22:49 -0200
commit94953980a78efb63b154041683c4adc998824790 (patch)
tree717d2caf27539f7a37de3286f98bcedb44f47931 /manifests/utils.pp
parenta0ed6865e402c25419e0a81769f07ae0f1598d8a (diff)
downloadpuppet-nodo-94953980a78efb63b154041683c4adc998824790.tar.gz
puppet-nodo-94953980a78efb63b154041683c4adc998824790.tar.bz2
Use the latest git package
Diffstat (limited to 'manifests/utils.pp')
-rw-r--r--manifests/utils.pp9
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,
}
}