[Puppet Users] Solaris / OpenSolaris package management

James Turnbull
Sun, 17 Jan 2010 07:58:57 -0000

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi all

I''m looking for Puppet users on Solaris - I''ve been setting up
some
test EC2 instances and using the sun package provider to install
some OpenSolaris packages.  I get the following error:

err: //git/Package[git]/ensure: change from absent to present
failed: Execution of ''/usr/sbin/pkgadd -d
http://pkg.opensolaris.org/ -n SUNWgit'' returned 1: pkgadd: ERROR:
Failure occurred with http(s) negotiation: <''Peername''
doesn''t match
''host'' or no matching entry>
pkgadd: ERROR: unable to download package datastream from
<http://pkg.opensolaris.org/>.

My manifests looks like:

Package { source => "http://pkg.opensolaris.org/" }

package { "SUNWgit":
   ensure => installed,
}

I''ve Google''d around a bit and can''t seem to find an
answer to this
error.  I get the same error running pkgadd manually on the host too.

When I use the pkg tool (pkg install SUNWgit) it works fine.

Does anyone have any ideas?

On a related note is pkgadd the recommended way to manage packages?
 Should a new/updated provider be developed that uses pkg?

Thanks

James Turnbull

- --
Author of:
* Pro Linux System Administration (http://tinyurl.com/linuxadmin)
* Pulling Strings with Puppet (http://tinyurl.com/pupbook)
* Pro Nagios 2.0 (http://tinyurl.com/pronagios)
* Hardening Linux (http://tinyurl.com/hardeninglinux)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEVAwUBS1LDQSFa/lDkFHAyAQKUngf+Kn6nBIUh+aNufwPCyACqMpFQmJSW5DiG
iUiHAxV54iQz+xmnIO1W8Z1j3wDTk9A9IGPXCzGYKBaHhlnQ/r8jtv4frfrvU14J
RPcVqxJmxkVAAoyZ6lKw5MrdXCA3WWB9mxU03HB/Imp7XiuC88t2NRAF7SRrZiHQ
KG/j0WymRdwuQzvG7k8XOcXAhg74UV/ctRS0ugoaCTGDxe92EFCesI4+56leaBOB
JsDGOGn8m+Ne9OPwg5yWL5F+cAkKHlx2qvkalJ7O+4ZhgledjxTou5aTxxMnBSe3
q7/RY5UbyEXxK8D/xijwkPAdoc6lh+rAZ0UIcke0wX+7O+RI4KlSnA==Snrd
-----END PGP SIGNATURE-----