aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2014-01-27 17:24:13 -0200
committerSilvio Rhatto <rhatto@riseup.net>2014-01-27 17:24:13 -0200
commitce695d39090a3cbaf980f04ae3aba42ab7755ba7 (patch)
tree1c81975ec22f3dfaba337fba2d70e9134d627b8c
parent98b62d54fb5935e89e67103f0805101974b58d3e (diff)
downloadpuppet-git-ce695d39090a3cbaf980f04ae3aba42ab7755ba7.tar.gz
puppet-git-ce695d39090a3cbaf980f04ae3aba42ab7755ba7.tar.bz2
Use the latest git package
-rw-r--r--manifests/git.pp9
1 files changed, 8 insertions, 1 deletions
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,
}
}
}