Commit Graph

136 Commits

Author SHA1 Message Date
Daniel Carabas
1cdeba11f1 Fix unit tests 2020-02-13 11:46:28 +02:00
lionce
84546ca9a7 Rebase with master, fix conflicts and rubocop issues 2020-01-16 15:39:32 +02:00
Tim Eilers
da548082fe Clean up code according to rubocop checks 2020-01-14 14:15:52 +02:00
Tim Eilers
c0748f164f Refactor and improve code with experience from testing.
Add spec and acceptance tests for new code.
Extend documentation for new AdoptOpenJDK feature.
2020-01-14 14:15:51 +02:00
lionce
c477db3b59 MODULES-10062 - fix acceptance tests on sles 2019-11-06 14:25:09 +02:00
Glenn Sarti
ee0e10dc12 (maint) Fix rubocop failures in download_spec.rb
This commit updates the download_spec.rb file to remote the global variable and
use let based test fixture.
2019-11-01 09:49:19 +08:00
Glenn Sarti
459757dd65 (maint) Update for PDK templates
This commit updates the module as per PDK-Templates commit 0b5b39b
2019-11-01 09:49:19 +08:00
tphoney
f70d15207a fake paths always cause errors 2019-09-26 11:31:23 +03:00
Jeroen Hooyberghs
21d39590b0 Add support for java 11, the default in debian buster 10 2019-09-10 12:21:19 +02:00
Florin Dragos
d277391efc (MAINT) pdksync: fix for net-ssh 5 host_key check 2019-08-29 17:09:24 +03:00
Daniel Carabas
a7f5b49404 Remove Oracle download support 2019-07-26 17:47:20 +02:00
tphoney
b9564626d3 (FM-8223) converted to use litmus 2019-07-25 14:46:20 +01:00
tphoney
7b73f579c0 (FM-8343) use release numbers not lsbdistcodename 2019-07-25 10:46:05 +01:00
lionce
77c18be58b pdksync_heads/master-0-gb096033 2019-07-16 10:05:15 +03:00
Erick Banks
4e36ff899c pdksync_heads/master-0-g7827fc2 2019-06-10 13:35:53 +01:00
Eimhin Laverty
881bcfabea (MODULES-8728) Remove .project from .gitignore 2019-03-07 12:43:24 +00:00
david22swan
fa7003da95 Merge pull request #348 from fraenki/symlink
MODULES-8699: Add option to manage symlink
2019-03-06 12:00:06 +00:00
Eimhin Laverty
7cd34dd291 (FM-7795) Cleanup java tests (#350)
* Add idempotent_apply function

* Remove unsupported OS specific code

* Remove outdated comments

* Improve unit test coverage

* Fix typo
2019-02-26 14:22:27 +02:00
Frank Wall
343ad7c468 Add option to manage symlink 2019-02-25 14:44:26 +01:00
Valentin
5509042cd1 Update default version & java 8 version from 8u192 to 8u201 (#347)
* Update default version & java 8 version from 8u192 to 8u201
2019-02-25 11:46:52 +00:00
tphoney
7293c4991b (MODULES-3958) use rspec-mock and add coverage 2019-02-14 13:51:16 +00:00
Frank Wall
e247902da5 fix tests, refs #298 2019-02-12 13:28:56 +01:00
Elyse Salberg
82cd45647a Add ability to override basedir and package type 2019-02-12 13:27:32 +01:00
lionce
f7f3fb9da2 pdksync_1.9.0-0-g7281db5 2019-01-31 11:22:53 +02:00
Eimhin Laverty
9526767b95 pdksync_heads/master-0-gbf720df 2018-12-17 11:31:10 +00:00
Eimhin Laverty
68fb4fa498 (MODULES-8234) - Upgrade Oracle Java version to 8u192 2018-11-09 11:05:24 +00:00
David Swan
a5ea78aeb4 pdksync_heads/master-0-gabccfb1 2018-11-07 10:22:33 +00:00
Otto Jongerius
0fd7c00fa9 upgrade Oracle Java 8 to 181, make it the default release 2018-11-05 16:06:43 +13:00
Dennis Ploeger
b53a78fbe8 Support for installing JCE. Fixes MODULES-1681 (#326)
* Support for installing JCE. Fixes MODULES-1681

* Disabled oracle tests. Only to be enabled, if the other configuration options match the current java download URL provided by Oracle.
2018-10-18 10:07:37 +01:00
Michael Moll
911df2d7b7 Fix OpenJDK paths on Debian based OS with ARM 2018-10-12 16:55:50 +02:00
Dennis Ploeger
bf26247f55 Fixed style violations 2018-10-12 14:27:59 +02:00
Dennis Ploeger
5f1b7ecea8 Optimized code for making java::oracle atomic. Fixes MODULES-8085 2018-10-12 07:43:57 +02:00
Paula Muir
2926bbcfcb (FM-7392) - Puppet 6 Testing Changes 2018-09-24 17:02:26 +01:00
tphoney
01b95d32c6 (MODULES-7658) use beaker4 in puppet-module-gems 2018-08-30 17:07:43 +01:00
Paula Muir
cb637faf83 pdksync_1.7.0-0-g57412ed 2018-08-22 14:33:05 +01:00
Eimhin Laverty
b0e6bc6d84 (MODULES-7661) - Release prep for 3.0.0 release 2018-08-13 14:55:23 +01:00
David Swan
a99915342b [FM-6963] Removal of unsupported OS from java 2018-06-01 14:59:13 +01:00
Helen Campbell
891b70a7c6 pdksync_heads/master-0-g34e3266 2018-05-18 15:21:46 +01:00
Helen Campbell
6561d98e58 PDK Convert 1.3.2 2018-01-23 13:42:24 +00:00
Helen Campbell
85c17ef66f Fixes the tests for SLES java_home location 2018-01-23 09:55:13 +00:00
tphoney
e53b8bb563 FM-6634 rubocop fixes 2017-12-06 15:47:27 +00:00
Will Meek
dec5136e11 Cleanup ruby code via rubocop
This commit will add code cleanup as corrected
and alerted by rubocop. It also adds rules to
execute rubocop on Travis.
2017-11-21 14:31:45 +00:00
Paula McMaw
7a271eef3e Module sync 1d81b6a (#267) 2017-11-17 15:32:24 +00:00
Will Meek
e1df6498c7 Fix facter unit test when using realpath 2017-11-15 14:37:42 +00:00
Sebastian Reitenbach
e50eb64614 do not use unportable readlink utility to find the java_default_home,
use Ruby in a more portable fashion.

adapt tests as well
2017-11-15 14:37:42 +00:00
Michael Baker
db30eb9e2d Adding support for Ubuntu (#243)
* Translate amd64

* Fix the path creation on exec
2017-11-15 14:36:10 +00:00
TP Honey
5f820fe8bd Merge pull request #257 from shuebnersr/fact1754_java_version_fails_when_JAVA_TOOL_OPTIONS_is_used
(FACT-1754) search for matching line with java version
2017-10-02 12:41:05 +01:00
shuebnersr
b7bdf96252 Fixed search for matching line with java version
Use value of variable instead of return statement
Extended unit test for checking handling of JAVA_TOOL_OPTIONS
2017-10-01 15:15:01 +02:00
TP Honey
231db77fe7 Merge pull request #203 from vrtdev/bugfix/override_package_alt_home
#MODULES-4069: Fail when required params are not available in params.
2017-09-26 14:02:45 +01:00
Jan Vansteenkiste
c40b061d97 (MODULES-4069) Fail when required params are not available in params.
When overriding all values required for the java setup, there is
no need to fail if params.pp does not support the package.
2017-09-26 07:37:41 +02:00