Agree with Avraham. Some other considerations:

I use Linux package managers (e.g., apt-get on Debian) for non-critical 
technology. This usually (but not always) means all non-Python technology, plus 
Python technology that we don’t push to its limits.

But, OTOH, at least in Ubuntu, it can sometimes be a hassle to locate the 
Ubuntu package containing the Python package I want to install. OTTH, it *is* 
quite nice to let apt-get to take care of all the dependencies, and install the 
big technologies (e.g., postgres). 

When using pip, make sure you lock your versions in your dependency file. 
(e.g., celery==3.0.1) BUT don’t blindly trust it. I’ve had instances where I 
asked for version x and pip installed a different version and my life turned 
into hell for half a day. I partly blame pip (if I ask for version 3.0.1, then 
I want 3.0.1 dammit, and if you can’t install 3.0.1 then you should throw an 
exception!) and partly blame lazy package maintainers who assert that, e.g., 
3.0.4 is a drop in replacement for 3.0.1 when in fact it is not.

Our systems are smallish (~ 25 nodes or so) and I find managing them with 
fabric is satisfactory. I have fabric tasks for updating nodes, provisioning 
new nodes, etc., and it works for me. But I have been thinking about adding 
Ansible to the mix. YMMV.

John


On Nov 11, 2013, at 6:47 AM, Avraham Serour <[email protected]> wrote:

> for dependency management you should use pip, first step is to go through the 
> docs for fabric (and pip)
> also you should google for best practices
> 
> 
> On Mon, Nov 11, 2013 at 4:40 PM, Kannan <[email protected]> wrote:
> Hi Guys, 
> I am new to Fabric. Please send me  your thoughts of using Fabric for 
> dependency management and also about the testing strategy. 
> 
> 
> Additionally, Please send me tutorials or links or something that can start 
> with.
> 
> 
> 
> 
> With regards, 
> Kannan
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/django-users.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/django-users/CAL4xV_B_vxCBop5AgEjcyCzj6RiPHVW3cV0PxfgDEuRHzM3ifQ%40mail.gmail.com.
> For more options, visit https://groups.google.com/groups/opt_out.
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/django-users.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/django-users/CAFWa6tLB9FOhVrVvr7ydAkojmPTp8s_20%2BFO1N22cTnLXJcW_A%40mail.gmail.com.
> For more options, visit https://groups.google.com/groups/opt_out.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CD172942-461A-4B7E-AD84-52AF60A4AB70%40ipstreet.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to