3 ms·
Depending on what you do, this could be not ideal: sudo('curl -O http://pypi.python.org/packages/source/p/pip/pip-1.0.tar.gz') What happens when pypi is d
by viraptor 14y ago
Depending on what you do, this could be not ideal:
sudo('curl -O http://pypi.python.org/packages/source/p/pip/pip-1.0.tar.gz')
What happens when pypi is down? It may be rare, but it does happen.
There are many ways to approach this problem. Explicit deployment is one, others may be creating new hosts from a prepared snapshot, registering to puppet-master/chef-server/..., auto-configuration from init script, etc. The described way works though and it's a pretty good description.