Regards
James
- --
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
iEYEARECAAYFAkmAAJkACgkQ9hTGvAxC30B9NQCeIzMIoM1vZwoe5e02NkBXWhaw
zQYAoIO6vssPbB3OBIgyPKdBdplMjwr1
=00WI
-----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Not as far as I am aware.
Jesse Reynolds wrote:
> Hello
>
> I'm wondering if anyone has looked into adding pkgsrc package
> management as a provider for Package?
> I had planned on using puppet to manage our joyent virtual boxes andWell I'd start with logging a ticket. pkgsrc is a NetBSD thing
> 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.
right? Does it work like ports? Is there a pkgsrc package for Puppet?
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-----
Pkgsrc also works on Red Hat. We use it here for a few things. The
other thing that occurs to me is that with pkgsrc on non-NetBSD
systems, you end up with a mixed package system where core OS packages
are provided by RPM (or SVR4 pkgadd/pkgrm or whatever) and the
extended packages are managed using the pkgsrc toolset. There might
also be namespace clashes between the two package systems, since they
use different package databases.
Can puppet easily enough refer a package resource to an alternative provider?
cheers
rob
The provider attribute allows you to specify which provider to use for
certain functions.
Regards
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
iEYEARECAAYFAkmA9tgACgkQ9hTGvAxC30CayACg0g1xE51uaTVLsfe1HT61Ufv+
WtEAn2A1y9NeBB9fpDZHIpXMtmCNr/MF
=JiFJ
-----END PGP SIGNATURE-----