Is this java module behavior correct ?

asked 2015-03-13 04:44:57 -0500

MisterWhite gravatar image

Hello. I installed the Java SDK by using this module:

I just created a file named java.pp containing this snippet:

class { 'java':
  distribution => 'jdk',

And I applied it with "puppet apply java.pp". It worked fine.

Then, I experimented by moving the javac compiler executable away in another path.

I ran the command again and I expected it to reinstall the javac executable back at its place, but it didn't. Is that the correct behaviour? Is it a bug? I'd expect the module to check that everything is in place, but maybe I'm wrong. Thanks so much.

edit retag flag offensive close merge delete