On Wed, Nov 21, 2012 at 2:42 PM, Geoff Hargreaves <[email protected]> wrote: > Perhaps I need to elaborate further. > > I wish to build this wrapper and make a provider for puppet that will deal > with pkg management for anything Solaris 10 and below in the same manner > (roughly at first) as apt-get or yum.
It sounds like you're idea is to create a new package management system that is like OpenCSW, but is built on top of Ruby instead of Perl like pkgutil is built on top of. I'm not sure you'll end up in a better situation if you take this approach. Installing packages from an online repository requires a fair amount of base functionality to get started. You probably want an HTTP client library, some way to serialize and deserialize data that contains information about the packages, and something that looks like a database to keep track of all this stuff. The decision for pkgutil to use Perl seems quite reasonable already; Perl is usually installed on Solaris systems and it's provided by the OS vendor rather than as a third party package. Likewise for wget. Am I understanding the situation correctly? Honestly, I'm, a bit surprised you're getting such a sprawling dependency graph. IIRC, using pkgutil to bootstrap Ruby didn't require that many packages. As another approach, you might also want to take a look at the packages we provide for Solaris 10 in the Puppet Enterprise distribution. These packages install Ruby and all of the dependencies for Puppet without also requiring OpenCSW or other third party packages. Hope this helps, -Jeff -- You received this message because you are subscribed to the Google Groups "Puppet Developers" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-dev?hl=en.
