Hi Carl,

On Tue, Nov 27, 2012 at 1:19 PM, Carl E. Ma <[email protected]> wrote:
> Hello,
>
> Problem I experienced is rsync_project does not take value from host_string 
> variable and keeps reporting no host defined. I can use os.system() to run 
> rsync, but just wonder what I missed when use rsync_project.

Something may be slightly off in your code -- rsync_project definitely
makes use of env.host_string:

    https://github.com/fabric/fabric/blob/master/fabric/contrib/project.py#L101

If you are able to share a sample of your code & the output from when
you run it, that might help us figure out what's up.

I'll also mention that get() is capable of grabbing files recursively
(and can also use glob syntax), so depending on your specifics, that
might be worth exploring over rsync.

Best,
Jeff


-- 
Jeff Forcier
Unix sysadmin; Python/Ruby engineer
http://bitprophet.org

_______________________________________________
Fab-user mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/fab-user

Reply via email to