From 0da8b77ccccf9e484ceb4ab3101a4c8feda12cf9 Mon Sep 17 00:00:00 2001 From: Colin Guthrie Date: Sun, 23 Mar 2014 20:54:22 +0000 Subject: 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) --- modules/git/manifests/snapshot.pp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'modules') 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 } -- cgit v1.2.1