Hmm, poking around a bit, this seems related to the version of pkg-get
being used.

The non-working system has 4.1.3 (the latest, from opencsw.org ), and
if I do

pkg-get -c nrpe

on that, I get no results back.

If I try it on a system with 4.1.2 installed, the same command tells
me that I have the current version of CSWnrpe installed. Re-installing
the old version of pkg-get on the broken system fixes it, and puppet
works as expected.

I'm not sure if this is a regression in pkg-get, or an intentional
change in its behaviour  (in which case, I suppose the blastwave
provider will have to adapt to fit). I will try and find out a bit
more...

Chris

On May 30, 10:34 pm, Chris <chrisma...@gmail.com> wrote:
> Hi all,
>
> One of my solaris systems is exhibiting some slightly odd behaviour
> with respect to installing blastwave packages.
>
> Trying to install packages via puppet succeeds, but puppet appears not
> to recognize the presence of the package. So every time puppet runs,
> it tries to re-install the packages
>
> //Node[xxx]/basenode/puppet/puppet::nrpe-check/nrpe/nrpe::nrpe-
> service::solaris/Package[nrpe]/ensure (notice): created
>
> The manifest in question is a simple
>
> package {"nrpe": ensure=>present}
>
> (there are other, similar package installs, and on this system they
> all show the same problem)
>
> Looking in the pkg database, everything _looks_ ok:
>
> # grep nrpe /var/pkg-get/catalog-www.ibiblio.org
> nrpe 2.12,REV=2009.05.17 CSWnrpe nrpe-2.12,REV=2009.05.17-SunOS5.8-
> i386-CSW.pkg.gz 5492e1366b0359720d2df609897a1066 221674 CSWosslrt|
> CSWtcpwrap|CSWcswclassutils|CSWcommon none
>
> # pkgparam CSWnrpe VERSION
> 2.12,REV=2009.05.17
>
> # /opt/csw/bin/pkg-get -i nrpe
> No worries... you already have version 2.12,REV=2009.05.17 of nrpe
> If you doubt this message, run 'pkg-get -U', then run
>  'pkg-get upgrade nrpe'
>
> - so what is puppet doing differently, that it thinks it should re-
> install the package?
>
> Thanks!
>
> Chris
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to