[tpm] Question on CPAN modules and eliminating multiple installs
olaf at vilerichard.com
Wed Mar 10 12:48:02 PST 2010
On 2010-03-10, at 3:42 PM, J. Bobby Lopez wrote:
> Hi All,
> I have several applications installed on multiple servers, and many of them are using many of the same modules (both CPAN modules and custom modules).
> I'm looking at ways of reducing or eliminating this duplication of code across systems - or failing that, implementing a way for the applications to rsync a central modules repository over to the local system on a regular basis.
> What I'm looking for is the ability to grab modules from a remote system which are currently not installed on the local system, and stuffing them away in some non-root directory (e.g: ~/perl/local_modules/CPAN/, ~/perl/local_modules/CUSTOM/). Basically only grabbing the modules I need for a given server, and not everything available on the remote central modules repository.
> Before I get ahead of myself and start designing this from scratch for my own purposes, I'm curious if there are any modules or tools that TPM's are currently using to do the same thing.
> I've looked at some modules like Mini CPAN, but they seem to be attempting to implement a CPAN mirror of some kind, whereas I'm trying to implement a local repository of modules which are already installed and ready for use.
I haven't actually used it myself, but ShipWright may suit your needs:
More information about the toronto-pm