Re:Tools of the Modern Python Hacker: Virtualenv, Fabric and...
by tvon on Wednesday July 08, 2009 @03:23PM
(#694485)
If you're distributing software to end users a packaging system is probably the way to go, but if you're looking to deploy code from development environments to staging and production servers then something like Fabric or Capistrano is the way to go.
[ Parent
| on HN ]
Re:Tools of the Modern Python Hacker: Virtualenv, Fabric and...
by oyving on Wednesday July 08, 2009 @03:49PM
(#694543)
Why? With the host packaging system I get versioned packages, through host management tools I can control which packages my production, staging, and development hosts should have, and I can describe my dependencies on host libraries and software through the host system's own tools.
Together with distribution systems like apt I can also significantly ease deployment.
I can see that executing some commands over a set of hosts at the same time could be useful, but doesn't sound like a killer feature for me.
As for deploying from staging to production servers, it sounds more tidy to build proper packages to deploy in staging and test before deploying the same packages to production.
Re:Tools of the Modern Python Hacker: Virtualenv, Fabric and...
by moe on Wednesday July 08, 2009 @09:28PM
(#695025)
I can see that executing some commands over a set of hosts at the same time could be useful
for h in $hosts; do ssh $h "my command"; done
As for deploying from staging to production servers, it sounds more tidy to build proper packages to deploy in staging and test before deploying the same packages to production.
Amen.
Re:Tools of the Modern Python Hacker: Virtualenv, Fabric and...
by prodigal_erik on Thursday July 09, 2009 @04:52AM
(#695492)
dsh is worth looking at. It's essentially a for loop that runs ssh, but it can also get named groups of machines from config files, run them in parallel, and prefix output lines with the machine they came from.