]> gitweb.fluxo.info Git - puppet-git.git/commitdiff
Use the latest git package
authorSilvio Rhatto <rhatto@riseup.net>
Mon, 27 Jan 2014 19:24:13 +0000 (17:24 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Mon, 27 Jan 2014 19:24:13 +0000 (17:24 -0200)
manifests/git.pp

index e86de5e573181bfcf120f40c020ab21b4c3976b0..5a3763db7734d3464cd4398cadcfe3404b96eb1f 100644 (file)
@@ -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,
     }
   }
 }