|
From: | Nick Sergeant |
Subject: | Re: [Fab-user] Blog post on deploying applications with Fabric |
Date: | Fri, 7 Nov 2008 10:51:25 -0500 |
Christian, Thanks for the response - glad you liked it! You're writing `config.fab_hosts = ['...']` instead of `set(fab_hosts In Fabric 0.0.9, 'set(fab_hosts = ['..'])' doesn't appear to work. I first learned of this here: Now that I re-read his comment at the very bottom - I should note that I pulled 0.0.9 from the Git repository - which is apparently why I must use config.fab_hosts. Another strange thing is that you explicitly set the `fab_host` I think this might be a bug related to using load() for the external functions, but I'm not sure. I tried a number of things, but was unable to get $(fab_host) to work in any fab functions in my build. I should setup a test build to demonstrate. I believe I was getting 'KeyError'. As you mentioned, it may be due to the way I'm setting config.fab_hosts. Lastly, I use `local("echo something")` in my examples/samples a lot, Makes sense - I guess I was just glued to the fab functions at that point :) Thanks, again! On Nov 6, 2008, at 5:34 PM, Christian Vest Hansen wrote:
|
[Prev in Thread] | Current Thread | [Next in Thread] |