Это - хорошая практика, чтобы просто скопировать модули Perl через об/мин?

Понятное дело! Я решил это. У меня случайно был a

<!-- 

тег в директиве!

6
задан 8 July 2013 в 21:57
3 ответа

Installing from RPM on an RPM based distribution will be the best way to manage packages and configuration. It has a relatively steep learning curve so consider yourself ahead of the game if you are already producing RPMs for these modules.

You may want to have a look in EPEL, and make sure you are not duplicating effort. There are already a number of Perl modules in there. It might save you from reinventing the wheel...

5
ответ дан 3 December 2019 в 00:25

If I fully understand what you're doing, then no, this isn't bad practice. When CPAN "installs" a module, it is actually just copying them, so there's no real difference between the two. If the RPM carries the files to be installed as payload, then this is the same thing the Red Hat provided perl modules do, so it's perfectly acceptable. If the RPM issues a 'cp' or 'wget' type command to drop files into place in the %post section, I would seriously suggest not doing that. The only thing I would caution against in the first case is making one RPM per module, not one RPM with multiple modules.

1
ответ дан 3 December 2019 в 00:25

If you didn't miss any dependencies of Perl Modules, it is not bad. But I think in your context, you should creat a rpm package for Perl modules, push it to your local repo and make your servers use this repo to install Perl Modules.

Here is an instruction to creat rpm package for Perl Modules.

1
ответ дан 3 December 2019 в 00:25

Теги

Похожие вопросы