I have a class that looks like this:
class java {
package { "java-1.6.0-sun.x86_64":
ensure => '1.6.0.39-1jpp.4.el5_9',
}
}
...but it gives me this error:
err: /Stage[main]/Java/Package[java-1.6.0-sun.x86_64]/ensure: change from
1.6.0.33-1jpp.1.el5_8 to 1.6.0.39-1jpp.4.el5_9 failed: Could not update:
Failed to update to version 1.6.0.39-1jpp.4.el5_9, got version
1.6.0.33-1jpp.1.el5_8 instead at
/etc/puppet/modules/java/manifests/init.pp:5
However, if I change the class to just use ensure => 'latest', it will do
this:
notice: /Stage[main]/Java/Package[java-1.6.0-sun.x86_64]/ensure: ensure
changed '1.6.0.33-1jpp.1.el5_8' to '1:1.6.0.39-1jpp.4.el5_9'
So I know it's possible for the upgrade to work, but I don't want puppet
arbitrarily installing whatever the latest is, I want to ensure it's that
version.
Any ideas?
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.