-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Jesse Reynolds wrote: > > > 2009/1/28 James Turnbull <ja...@lovedthanlost.net > <mailto:ja...@lovedthanlost.net>> > > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Jesse Reynolds wrote: > > Hello > > > > I'm wondering if anyone has looked into adding pkgsrc package > > management as a provider for Package? > Not as far as I am aware. > > I had planned on using puppet to manage our joyent virtual > boxes and > > our local developer virtual machines including installation of > ruby, > > rails, apache, etc etc out of pkgsrc but seems this might be non > > trivial. Any advice appreciated. > Well I'd start with logging a ticket. pkgsrc is a NetBSD thing > right? Does it work like ports? Is there a pkgsrc package for > Puppet? > > > It works similarly to ports, yes. It can build from scratch like > ports, or it can install from a pre-built package repository. > > Yes there is package for Puppet in pkgsrc :-)
So I just looked quickly at the doco for pkgsrc and the existing freebsd, openbsd and ports support in Puppet and it looks to me like it'll work fine. It's currently confined to only work on OpenBSd and FreeBSD but it'd be an easy fix to update that and if there are minor bugs fix those. The files you want to look at are: lib/puppet/provider/package/openbsd.rb lib/puppet/provider/package/freebsd.rb lib/puppet/provider/package/ports.rb Cheers James Turnbull - -- Author of: * Pulling Strings with Puppet (http://www.amazon.com/gp/product/1590599780/) * Pro Nagios 2.0 (http://www.amazon.com/gp/product/1590596099/) * Hardening Linux (http://www.amazon.com/gp/product/1590594444/) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkmABSoACgkQ9hTGvAxC30CQhgCg2JnsbhQ1fPJ2TDbUIYjRkcaJ 7gAAoLgiWpIa3yPTLI8xISfgeiQp1JLz =NveT -----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 -~----------~----~----~----~------~----~------~--~---