cap3 Infrastructure Management

26 views
Skip to first unread message

Joe Topjian

unread,
Feb 16, 2014, 1:40:53 PM2/16/14
to capis...@googlegroups.com
Hello,

Lately I've been using Capistrano for infrastructure management. I've written some initial details here:


I thought this might be of interest because I usually see Capistrano used as a developer / code deployment tool rather than a sysadmin-focused tool.

Joe

Lee Hambley

unread,
Feb 17, 2014, 11:47:49 AM2/17/14
to capistrano
Thanks for taking the time to post this here, it's great to read:

Capistrano was a perfect fit for all three of those items. It’s also well-known which is a bonus. And being based on Rake was an added benefit.

Basing our well known tool, on a well known tool (dependency resolution driven!) was a massive gamble for the project. I only wish we had been able to implement more of the workflow in a `build` fashion, rather than the procedural method we have now.

I also learned a few things about the Puppet ecosystem, which is alien to me (being a Ruby guy, I tend towards Chef, for better or worse)

For anyone interested, there's a post I wrote some time ago about how to use Capistrano with Chef-Solo (my own most common use-case outside of deploying Rails and Go apps) http://lee.hambley.name/2013/06/11/using-capistrano-v3-with-chef.html which includes some hints on how to speed things up using Rake's built-in conditional rebuild of outdated targets (users of Make will thank me!)

I think you might enjoy https://harrow.io/ when we launch, it'll be a place to host your general purpose scripts, and share with your team, my company has designed and built Harrow with this use-case in mind, although our stack looks a little different (*ahem* Chef) - I'd be happy of the chance to talk to you about that if you are ever interested.

Thanks again!

--
You received this message because you are subscribed to the Google Groups "Capistrano" group.
To unsubscribe from this group and stop receiving emails from it, send an email to capistrano+...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/capistrano/6fa720b7-abf2-4c63-b091-498040677567%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Lee Hambley

unread,
Feb 17, 2014, 11:49:03 AM2/17/14
to capistrano
Follow-up: If you are keen, please feel free to send a PR to the documentation repository where we'd be happy to link to your article, I'm not sure the most appropriate place, but it looks like a great resource for people who need a hand to get the whole stack working.

Lee Hambley

unread,
Feb 17, 2014, 11:49:57 AM2/17/14
to capistrano

Joe Topjian

unread,
Feb 17, 2014, 12:06:56 PM2/17/14
to capis...@googlegroups.com
Hi Lee,

Awesome - thanks for the response and tweet!

I'm going to review the blog post and maybe write one or two more within the next few weeks. Depending on that, I might have something a bit more cleaner and professional that would warrant a link from the main capistrano page :)

Thanks again!
Joe



--
You received this message because you are subscribed to a topic in the Google Groups "Capistrano" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/capistrano/Udm-bwRF0xw/unsubscribe.
To unsubscribe from this group and all of its topics, send an email to capistrano+...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/capistrano/CAN_%2BVLV5Eg1SJpmYyp21qV9_6o5CRtr6CO8V61aD6oYVbRd85Q%40mail.gmail.com.

Andy L

unread,
Feb 17, 2014, 12:25:35 PM2/17/14
to capis...@googlegroups.com
From what I can tell, Ansible is more similar to Capistrano than puppet or chef.  Could you use Ansible playbooks with Capistrano?

Lee Hambley

unread,
Feb 17, 2014, 12:35:43 PM2/17/14
to capistrano
I believe that most of the time people use Capistrano as a transport layer to get other scripts, and systems onto their servers. There's nothing to stop people building a tarball of Ansible playbooks with Cap/Rake, and uploading and executing them, but I believe that's a misuse, given that Ansible is suppose to also play the bundling, uploading, and execution roles.

--
You received this message because you are subscribed to the Google Groups "Capistrano" group.
To unsubscribe from this group and stop receiving emails from it, send an email to capistrano+...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages