aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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,
}
}