aboutsummaryrefslogtreecommitdiffstats
path: root/modules/git/manifests
diff options
context:
space:
mode:
authorColin Guthrie <colin@mageia.org>2014-03-23 20:54:22 +0000
committerColin Guthrie <colin@mageia.org>2014-03-23 20:54:22 +0000
commit0da8b77ccccf9e484ceb4ab3101a4c8feda12cf9 (patch)
tree45a1bc081aaf6ff464abf1003941263ebbd584e5 /modules/git/manifests
parent287572f8d8468dcf9a0d404f2a30f151269f9a38 (diff)
downloadpuppet-0da8b77ccccf9e484ceb4ab3101a4c8feda12cf9.tar
puppet-0da8b77ccccf9e484ceb4ab3101a4c8feda12cf9.tar.gz
puppet-0da8b77ccccf9e484ceb4ab3101a4c8feda12cf9.tar.bz2
puppet-0da8b77ccccf9e484ceb4ab3101a4c8feda12cf9.tar.xz
puppet-0da8b77ccccf9e484ceb4ab3101a4c8feda12cf9.zip
git: Make git pulls silent.
This avoids the 'Already up to date.' messages and mirrors what the subversion module does. (fixes previous commit which put the -q in the wrong place and had a comment about the lack of -q)
Diffstat (limited to 'modules/git/manifests')
-rw-r--r--modules/git/manifests/snapshot.pp3
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/git/manifests/snapshot.pp b/modules/git/manifests/snapshot.pp
index 02fd0c10..f89d27cd 100644
--- a/modules/git/manifests/snapshot.pp
+++ b/modules/git/manifests/snapshot.pp
@@ -16,8 +16,7 @@ define git::snapshot( $source,
if ($refresh != '0') {
cron { "update $name":
- # FIXME no -q ?
- command => "cd $name && /usr/bin/git -q pull",
+ command => "cd $name && /usr/bin/git pull -q",
user => $user,
minute => $refresh
}