I should have added to my post that I've tried adding that "1:" as well to 
the ensure line with the same results.

Any other ideas?

I've tried this workaround:

exec { "upgrade java":
    command => "yum -d 1 -e 1 upgrade 
java-1.6.0-sun-1:1.6.0.39-1jpp.4.el5_9.x86_64 
java-1.6.0-sun-devel-1:1.6.0.39-1jpp.4.el5_9.x86_64 -y",
    path    => "/usr/bin/"
 }

...but it then runs every single time the puppet agent runs:

notice: /Stage[main]/Java/Exec[upgrade java]/returns: executed successfully



On Thursday, February 14, 2013 4:52:17 AM UTC-7, Felix.Frank wrote:
>
> Hi, 
>
> please take note that 
>
> On 02/14/2013 02:32 AM, Sean LeBlanc wrote: 
> >   ensure => '1.6.0.39-1jpp.4.el5_9',notice: 
>
> ...this version is unlike... 
>
> > /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' 
>
> ...this version. Notice the leading 1: 
>
> HTH, 
> Felix 
>

-- 
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 puppet-users+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to