-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Larry Ludwig wrote:
| Why not let Puppet install via ruby's gems? I started down a similar | path with CentOS/RH creating RPMs for gems and felt using the native | 'gem install' was better, especially when using different | architectures (ie i386 and x86_64). In addition, if you use the | puppet's type the recipe install is the exactly the same for any | platform or operating system. One major reason to not use gems (or CPAN for Perl), is that it doesn't play together with the OS packaging system. If an RPM (for example) has installed a file, gems and CPAN will happily overwrite it, without recording in the RPM database that the file is now owned by another package. If you install an updated RPM, it will happily overwrite the gem/CPAN installed file. And of course if you find a file that you don't know where it comes from, you can't do 'rpm -q -f /path/to/file' to learn about it. Instead you need to realize that you should look in another packaging system for that information. Having more than one package system on a machine sucks big time. For CPAN, there's the cpan2rpm program, which can create an RPM from a CPAN package, which you can then install using the rpm or yum commands, and I believe there's a cpan2deb program for Debian/Ubuntu. That gives me the proper interaction with the normal package system. I see there's a gem2rpm command available also. I haven't tried using that, though. If there's a gem2deb command, I'd suggest the OP to try using that. /Thomas Bellman -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iEYEARECAAYFAkl0pisACgkQDGpP8Cv3aqJFgQCfTCRwg5gsof0okMR4KlHA79Sn DnAAni3HgyxNenj1U7Nw6JxIQFvFdses =X+xD -----END PGP SIGNATURE----- --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---