Fix git usage in the planet puppet module

Change-Id: Ia13cc44c219e53d905157ae6f4f2305d7b1115dd
This commit is contained in:
Andrew Hutchings 2012-02-03 18:38:12 +00:00
parent 45516b6210
commit f9ad6def56
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ define planet::site($git_url) {
# if we already have the mercurial repo the pull updates
exec { "update_${name}_planet":
command => "git pull",
command => "git pull --ff-only",
cwd => "/var/lib/planet/${name}",
path => "/bin:/usr/bin",
onlyif => "test -d /var/lib/planet/${name}"