Hi again,
I figured out one flaw in my definition. I have to use
provider => ports
otherwise my package-system is not upgradedable and therefor "latest"
doesn't work for me.

But still I'm stuck

gmake[4]: Leaving directory `/usr/ports/databases/rrdtool/work/
rrdtool-1.3.3/bindings/perl-shared'
gmake[3]: Leaving directory `/usr/ports/databases/rrdtool/work/
rrdtool-1.3.3/bindings'
gmake[2]: Leaving directory `/usr/ports/databases/rrdtool/work/
rrdtool-1.3.3/bindings'
--->  Installing the new version via the port
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade.
25302.2 env BATCH=yes make reinstall
** Fix the installation problem and try again.
** Listing the failed packages (-:ignored / *:skipped / !:failed)
        ! databases/rrdtool12   (install error)
        ! databases/rrdtool     (install error)

On Dec 4, 10:38 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> Here's my class-def:
> class apps {
>        $packagelatest = ["rrdtool"]
>        package {
>
>               $packagelatest:
>               ensure => latest
>                }
>
> }
>
> As I can see from the logfiles (I'm running puppet-0.24.6 on
> freebsd7.0-amd64) rrdtool-1.0.50 is installed first.
> After that, the latest version rrdtool-1.3.3 is being installed but
> bails out due to rrdtool-1.0.50 already being installed.
>
> This is from the logs which looks suspicious:
> Dec  4 09:27:04 bernd-vm-puppetclient puppetd[17660]: (//Node
> [basenode]/apps/Package[rrdtool]) Failed to retrieve current state of
> resource: Could not get latest version: Could not match package info
> 'rrdtool'
>
> any ideas?
> thanks,
> Bernd
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to