Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: CPAN.pm/autobundle usage

by perlcgi (Hermit)
on Jun 02, 2000 at 16:38 UTC ( #16000=note: print w/replies, xml ) Need Help??


in reply to CPAN.pm/autobundle usage

Hope this reply isn't naive, let me know if it is...
If the machines are all the same architecture check out tree-sync.pl in the CPAN administrative scripts section at http://www.perl.com/CPAN-local/scripts/CPAN/Administrative/index.html. It compares two directories recursively, prints out a report and generates a batch file that can sync two trees. Then maybe you could do something along the lines of this
perl treesync.pl /usr/local/lib/perl5/site_perl /mnt/prodn/usr/local/ +lib/perl5/site_perl
Maybe then, grok the command file for a reality check, then run it.

Replies are listed 'Best First'.
RE: Re: CPAN.pm/autobundle usage
by cyclone (Novice) on Jun 03, 2000 at 04:36 UTC
    I read the documentation on treesync.pl and a co-worker posed this question:
    How is it better than rdist? Are there benefits to using the Perl code over the built-in sync utility?
    BTW... we use *NIX here.
    Thanks
      How is it better than rdist?
      Good question? It is written in Perl :-) but rdist users rlogin, and dupes the permissions which might be an easier to maintain solution. I note some other discussions here by fellow perlmonk corion mention rsync which could well be the way to go. This document summarizes the pro's and con's of rdisk v rsync. rsync seems to win hands down.
        Ok I'll look at rsync when I get in Monday and see if that'll be a good solution for us. Thanks.

        I still don't understand what autobundle does for me if I can't use it to install a module set. I update the production area only after all beta tests have finished. That could be a week or 5 depending on project scope.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://16000]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (2)
As of 2022-12-03 22:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?