aboutsummaryrefslogtreecommitdiff
path: root/manifests/git.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/git.pp')
-rw-r--r--manifests/git.pp6
1 files changed, 5 insertions, 1 deletions
diff --git a/manifests/git.pp b/manifests/git.pp
index 3d564c4..e86de5e 100644
--- a/manifests/git.pp
+++ b/manifests/git.pp
@@ -1,5 +1,9 @@
# This class is the base for any other services handled by this module.
class git {
- package { "git-core": ensure => installed }
+ if !defined(Package['git-core']) {
+ package { 'git-core':
+ ensure => installed,
+ }
+ }
}