push-reports: teach lftp to fail, handle local reports dirv0.22
commitb119730ecd69ad74eaea487bcf0aef9055c9c35d
authorMartin Langhoff <martin.langhoff@gmail.com>
Fri, 22 May 2015 15:46:46 +0000 (22 11:46 -0400)
committerMartin Langhoff <martin.langhoff@gmail.com>
Fri, 22 May 2015 15:46:46 +0000 (22 11:46 -0400)
tree7660d5fa13eaa3aa1acb27ff98f583d367a58255
parentcf36a7ea1faba3c98420e036da5a6bb8f2fe811c
push-reports: teach lftp to fail, handle local reports dir

 - lftp defaults to infinite retries, very long (infinite?) timeouts
   so it essentially hangs (holding up the ppg flock!) if it can't transfer
   for any reason. Here lftp, it's ok to fail.

 - use rsync for the "puppet server is actually a local file path" case;
   before, git was handling this transparently for us
ppg-push-reports