Ask Your Question

Upgrade Java on Windows 7 client

asked 2015-04-13 09:18:36 -0600

temeo31 gravatar image

I use 3.4.3 version of Puppet client on Windows 7 Pro x64. I would like to upgrade Java on my clients, from "jre 1.7.75" to "jre 1.8.40". When I run puppet agent manualy, the upgrade perform very well, but when it's managed by the puppet service, everything seems to going on (no error in the puppet report), but the upgrade has not been performed. Do you have some idea about this issue ?

edit retag flag offensive close merge delete


Can you run "puppet agent -t --debug" and post a link to a pastebin of the output? It may help to show why the upgrade does not occur.

GregLarkin gravatar imageGregLarkin ( 2015-04-13 23:47:15 -0600 )edit

2 Answers

Sort by ยป oldest newest most voted

answered 2015-04-15 21:58:37 -0600

GregLarkin gravatar image

It looks like that package does require administrator privileges for installation, and you can perhaps find some solutions or workarounds here:

In the end, it's not a Puppet limitation, but a limitation of the packaging of the Java application. It's quite possible that it worked properly in an earlier version of Java, but does not act the same with the most recent version.

edit flag offensive delete link more

answered 2015-04-14 04:13:02 -0600

temeo31 gravatar image

Hi, I send to you a screen copy of the output. Like you can see, the package jre_8u40.exe is installed at end. But as I said in my first post, when the resource is managed by the puppet service, the package's installation doesn't work though all seems right in the report. Since my post I proceeded some complementary tests, and I found when puppet service run with the local system account (the default), it doesn't work, and when it run with the domain administrator account it work well (but we would not accept this solution). We install and upgade a lot of packages and only this one creates this problem. Thanks for your answer


edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2015-04-13 09:18:36 -0600

Seen: 324 times

Last updated: Apr 15 '15