From the output below the name of the package should just simply be
jdk instead of jdk-6u16..., use the command 'puppet resource package'
and look at the output for a better idea.
> the error:
>
> err: /Stage[main]/Ulbridge/Package[jdk-6u16-linux-amd64.rpm]/ensure: change
> from absent to present failed: Execution of '/bin/rpm -i --oldpackage
> /usr/java/jdk-6u16-linux-amd64.rpm' returned 1: package
> jdk-1.6.0_16-fcs.x86_64 is already installed
>
> If I then have another file/package/whatever that depends on that package
> (require => Package['jdk-6u16-linux-amd64.rpm']) it will fail because the
> package errored out. This isn't by design, is it? How do I get around it?
HTH,
Nan