James,

On Jan 17, 8:58 am, James Turnbull <ja...@lovedthanlost.net> wrote:

> err: //git/Package[git]/ensure: change from absent to present
> failed: Execution of '/usr/sbin/pkgadd -dhttp://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,
>
> }
>
That package source is only valid for use with pkg.

> 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.
>
You can use pkgadd on OpenSolaris, but it is there for backward
compatibility.

> When I use the pkg tool (pkg install SUNWgit) it works fine.
>
> Does anyone have any ideas?
>
I noticed that you found the pkg(5) package provider which hopefully
will work for you - it is my first shot at a package provider for
puppet :)

> On a related note is pkgadd the recommended way to manage packages?
>  Should a new/updated provider be developed that uses pkg?
>
On OpenSolaris you should stick to pkg instead of pkgadd/pkgrm (unless
you only have a package which only is available in SVR4 format).

cheers,
/Martin
-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-us...@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.


Reply via email to