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 950531a299
commit c69186803a

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}"