2 ms·
Try fabric It's a lightweight management tool, like writing a shell script in python, but easier and targeted towards system deployment, really you only have
by raverbashing 14y ago
Try fabric
It's a lightweight management tool, like writing a shell script in python, but easier and targeted towards system deployment, really
you only have to get around its unintuitive calling convention (not inside the script - it's the way you use the cmd line tool) but otherwise it's a breeze
Chef/Puppet are harder (as in, you really have to fit their paradigms)
- hdra 14y agoI haven't really looked into it, but how does that differ from using say, a shell script file?
- deleted 14y ago[deleted]
- DrJ 14y agoI might be saying this incorrectly, but... with Fabric you are writing shell scripts in python, so you can have people who doesn't know how to read complex(?) shell scripts be able to read/write/modify your deploy scripts.
- btipling 14y agoIt's similar to using a shell script except you're using Python and have access to all of Python's modules and fabric is written with roles and remote management in mind so it makes tasks easier. I love it and even use it to deploy my jekyl blog.
- pekk 14y agoIt makes it really easy to target ssh hosts and tell them to do things remotely, while also doing things locally, in one or more scripts. Writing the functionality of Fabric in shell would take you a long time and give you something which was buggy and inflexible. Someone else wrote it in Python for you. There's no good reason to write it in shell.
- reinhardt 14y agoThis doesn't really answer the grandparent's question. "Try fabric" is good advice for someone that knows (a) what he wants to do and (b) how to do it using a bunch of shell scripts, but prefers Python instead. That's quite far from a "total noob" starting point.