We build .deb packages and host them in a local Debian APT Repository, which we then use Puppet to manage installs from.

However, there is surprisingly little written about building or managing an apt repository, so I fear we're overlooking some beautiful open-source solution. What do other startups use? Do they just scp the raw files from server to server? If so, how do they keep things tidy?

Or is this a question that Rails handles internally (e.g. as gems) so we're the only ones facing it? ;)

link|improve this question

Have a look here: serverfault.com/questions/224149/debian-apt-get-repository/…. Am not usre if that's what you want because I got a bit confused by the Puppet and Ruby bit. – Tshepang Mar 10 '11 at 12:23
feedback

2 Answers

up vote 1 down vote accepted

I've worked at a number of startups and built a portage overlay for Gentoo, yum repo for CentOS, and most recently apt repo for Ubuntu. I too was surprised how much of a pain in the ass it was to build the apt repo and there was nearly nothing on the web about how to do it properly.

However in order to push website code we ultimately do some form of rsync and move the symlink. It's faster and easier to roll back in most cases.

link|improve this answer
Yes, that's exactly what I've found, that it's surprisingly difficult to build and manage the apt repo and nobody seems to be talking about it. Thanks for reassuring me that I'm not overlooking something. – mrisher Mar 11 '11 at 5:07
feedback

the following page may be useful information about how to create an apt repository:

http://www.debian-administration.org/articles/286

also the serverfault question linked in the comment is also good: Debian apt-get repository

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.