I'm having similar issues with Blastwave. It does not complain about
anything and even says that package was updated. Still after the
puppet run package is at the old rev.

package { "puppet":
                ensure   => latest,
                provider => "blastwave",
                require  => Package[["facter" ,"openssl_rt",
"readline", "zlib", "ggettext", "libsunmath", "isaexec", "stl4"]],
}

package { ["facter" ,"openssl_rt", "readline", "zlib", "ggettext",
"libsunmath", "isaexec", "stl4"]:
                ensure   => latest,
                provider => "blastwave",
                require  => Package["common"],
}

puppetd -otv

notice: //solaris::configs/Package[common]/ensure: ensure changed
'1.4.7,REV=2009.09.20' to '1.8.0,REV=2010.05.01'
notice: //solaris::configs/Package[openssl_rt]/ensure: ensure changed
'0.9.8,REV=2009.03.27_rev=k' to '0.9.8n,REV=2010.04.09'
notice: //solaris::configs/Package[readline]/ensure: ensure changed
'6.0,REV=2009.03.31' to '6.1,REV=2010.04.12'
notice: //solaris::configs/Package[zlib]/ensure: ensure changed
'1.2.3,REV=2009.04.05' to '1.2.5,REV=2010.06.10'
notice: //solaris::configs/Package[facter]/ensure: ensure changed
'1.5.7,REV=2009.11.16' to '1.5.7,REV=2010.01.06'
notice: //solaris::configs/Package[ggettext]/ensure: ensure changed
'0.17,REV=2009.05.27' to '0.17,REV=2010.03.08'
notice: //solaris::configs/Package[stl4]/ensure: ensure changed
'12.0,REV=2007.05.03' to '12.0,REV=2010.04.23'
notice: //solaris::configs/Package[libsunmath]/ensure: ensure changed
'2007.08.04' to '5.9,REV=2009.04.30'
notice: //solaris::configs/Package[isaexec]/ensure: ensure changed
'0.2,REV=2009.03.26' to '11.11,REV=2009.12.27'
notice: //solaris::configs/Package[puppet]/ensure: ensure changed
'0.25.1,REV=2009.11.16' to '0.25.4,REV=2010.0

pkginfo -l CSWcommon
   PKGINST:  CSWcommon
      NAME:  common - common files and dirs for CSW packages
  CATEGORY:  system
      ARCH:  sparc
   VERSION:  1.4.7,REV=2009.09.20
   BASEDIR:  /
    VENDOR:  http://www.opencsw.org/ packaged for CSW by Philip Brown
      DESC:  Installs some useful standard CSW filesystem symlinks and
files
    PSTAMP:  bender20090920003656
  INSTDATE:  Nov 18 2009 12:30
   HOTLINE:  http://www.opencsw.org/bugtrack/
     EMAIL:  p...@opencsw.org
    STATUS:  completely installed
     FILES:      161 installed pathnames
                 112 shared pathnames
                 130 directories
                   6 blocks used (approx)


pkgutil -c common

package                   installed                 catalog
CSWcommon                 1.4.7,REV=2009.09.20
1.8.0,REV=2010.05.01

On Jul 14, 7:31 am, Don Jackson <puppet-us...@clark-
communications.com> wrote:
> On Jul 13, 2010, at 5:20 PM, Jeff McCune wrote:
>
> > On Tue, Jul 13, 2010 at 5:00 PM, Don Jackson
> > <puppet-us...@clark-communications.com> wrote:
> >> It seems like the package provider is not seeing that sudo is already 
> >> installed….
> >> How can I fix that?
>
> >> Both my puppetmaster and puppetd are 0.25.5
>
> > Blastwave uses aliases for the "standard" sun formatted package names
> > as a convenience.  Try adding the parameter name => "CSWsudo", to the
> > resource declaration which is the actual non-aliased name of the
> > blastwave sudo package if I remember correctly.
>
> I spoke too soon, this is not working for me.
>
> Here is the error message I get:
>
> err: //base_server/Package[sudo]/ensure: change from absent to present 
> failed: Execution of '/opt/csw/bin/pkg-get -f install CSWsudo' returned 1: 
> ERROR: CSWsudo unrecognized
> Perhaps you need to run pkg-get -U
>
> And here is the revised source:
>
>  package {'sudo':
>               name => 'CSWsudo',
>               ensure => 'installed',
>               provider => 'blastwave',
>               adminfile => '/usr/local/etc/adminfile',
>             }

-- 
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