aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorColin Guthrie <colin@mageia.org>2014-03-23 20:53:23 +0000
committerColin Guthrie <colin@mageia.org>2014-03-23 20:53:23 +0000
commit287572f8d8468dcf9a0d404f2a30f151269f9a38 (patch)
tree2aadabff460d26df885646c3ea0073151da0d08c
parentc6997b462d84a7b0fee441a27b052f9542961377 (diff)
downloadpuppet-287572f8d8468dcf9a0d404f2a30f151269f9a38.tar
puppet-287572f8d8468dcf9a0d404f2a30f151269f9a38.tar.gz
puppet-287572f8d8468dcf9a0d404f2a30f151269f9a38.tar.bz2
puppet-287572f8d8468dcf9a0d404f2a30f151269f9a38.tar.xz
puppet-287572f8d8468dcf9a0d404f2a30f151269f9a38.zip
git: Make git pulls silent.
This avoids the 'Already up to date.' messages and mirrors what the subversion module does.
-rw-r--r--modules/git/manifests/snapshot.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/git/manifests/snapshot.pp b/modules/git/manifests/snapshot.pp
index 940b50f0..02fd0c10 100644
--- a/modules/git/manifests/snapshot.pp
+++ b/modules/git/manifests/snapshot.pp
@@ -17,7 +17,7 @@ define git::snapshot( $source,
if ($refresh != '0') {
cron { "update $name":
# FIXME no -q ?
- command => "cd $name && /usr/bin/git pull",
+ command => "cd $name && /usr/bin/git -q pull",
user => $user,
minute => $refresh
}