more useful options | |
PerlMonks |
Re^3: What are all the possible ways to deploy Perl code on multiple servers?by saberworks (Curate) |
on Jul 20, 2011 at 14:59 UTC ( [id://915670]=note: print w/replies, xml ) | Need Help?? |
I create .deb packages of each module and they're hosted on a web server with a Packages.gz file (which is generated using some command). I did it by hand (found a tutorial online) until I found dh-make-perl as i5513 mentioned. It works pretty well.
For the "dependencies" deb file (the one that lists all the packages required for our servers, both from the official repo mirror and our package list) I created it by hand. Essentially you just have to create a debian CONTROL file and then run some dpkg commands on it. I can post more details when I get to work and take a look. It's one of those things that works and we only touch when we need a new module. Update: Okay here are some instructions...
Assuming you put all your .deb files in a folder called binary/ you run: Now you have a folder called binary/ with a bunch of .deb files in and a Packages.gz with a list of those files. You can edit our /etc/apt/sources.list to add your repo like this:
In Section
Seekers of Perl Wisdom
|
|