Commit Graph

401 Commits

Author SHA1 Message Date
Wilson McCoubrey
91871b1408 Merge pull request #200 from MiamiOH/archive_creates
java::oracle Do not download archive if already installed
2016-11-03 17:16:18 +00:00
Eric Putnam
1dd62ddc33 mocha version update 2016-11-02 16:10:17 -07:00
Chris Edester
693d980c2b java::oracle Do not download archive if already installed
We are having issues on reboot of boxes. It tries to download to tmp even though already installed, which would be fine,
but the version is no longer available.
This results in curl downloading something to tmp every time puppet runs, which eventualy fills up tmp :(
2016-11-01 12:53:46 -04:00
Hunter Haugen
daddd9a115 Merge pull request #198 from puppetlabs/Paula_modulesync
(MODULES-3983) Update parallel_tests for ruby 2.0.0
2016-10-31 09:53:24 -07:00
Paula McMaw
e1b4cb5276 (MODULES-3983) Update parallel_tests for ruby 2.0.0 2016-10-20 09:47:55 +01:00
Hunter Haugen
b1f910d764 Merge pull request #196 from gzurowski/fix-docs
Fix naming of version_major and version_minor parameters
2016-10-19 10:46:55 -07:00
Gregor Zurowski
2fe6ff23b3 Fix naming of version_major and version_minor parameters in documentation.
Signed-off-by: Gregor Zurowski <gregor@zurowski.org>
2016-10-18 16:10:56 +02:00
Hunter Haugen
06c3f9f112 Merge pull request #184 from ntpttr/fix/master/modules-2971
(MODULES-2971) Add java_home to all operating systems
2016-10-17 10:54:06 -07:00
Nate Potter
9df2f3d2a6 Change exec to file_line
This commit updates the setting of JAVA_HOME in /etc/environment
to be done with file_line rather than exec.
2016-10-14 09:10:53 -07:00
Hunter Haugen
fec59be2b7 Merge pull request #195 from eputnam/sles10_test_failure
(maint) ci fix for install_spec
2016-10-13 16:05:14 -07:00
Eric Putnam
bd25f7a58a ci fix for install_spec 2016-10-13 14:20:20 -07:00
Eric Putnam
f9d152e991 Merge pull request #194 from puppetlabs/modulesync
Update modulesync_config [51f469d]
2016-10-11 22:07:57 -07:00
Hunter Haugen
8852a13a11 Merge pull request #193 from gzurowski/oracle-java-specific-versions-docs
Update documentation about parameters major_version and minor_version
2016-10-10 13:48:34 -07:00
David Schmitt
6f2d6057a8 Update modulesync_config [51f469d] 2016-10-10 14:25:47 +01:00
Gregor Zurowski
3a13507a67 Update documentation about parameters major_version and minor_version
Signed-off-by: Gregor Zurowski <gregor@zurowski.org>
2016-10-08 19:16:25 +02:00
Gregor Zurowski
2a8236e6d1 Allow targeting specific major/minor Oracle JDK versions (#192)
* Allow targeting specific major/minor Oracle JDK versions

Expose two new parameters 'version_major' and 'version_minor' to
allow users targeting specific Oracle JDK versions.

Signed-off-by: Gregor Zurowski <gregor@zurowski.org>

* Fix lint validation issues

Signed-off-by: Gregor Zurowski <gregor@zurowski.org>
2016-10-07 19:48:58 +02:00
ntpttr
9093da3b32 Update config.pp 2016-09-20 14:05:18 -07:00
ntpttr
3960227e60 Add unless clause to exec 2016-09-20 13:53:03 -07:00
Nate Potter
eb587a433e Change file resource to exec
This commit changes the way the JAVA_HOME variable is added to
/etc/environment from using a file resource to using an exec
resource. This way we can avoid resource conflicts with the
file.

Signed-off-by: Nate Potter <ntpttr@gmail.com>
2016-09-17 11:58:58 -07:00
Eric Putnam
2b0bd48cb5 Merge pull request #187 from alphagov/master
thanks!
Support recent java versions > 8u99 built with make-jpkg 0.53
2016-09-08 12:47:04 -07:00
Jinn Koriech
0c9aafe52c Test cases for oracle-java8-(jre|jdk)
New versions of oracle java 8 >= 100 have an updated naming scheme.  These
test cases validate the new conditional logic around this for Debian and
derivatives.
2016-09-08 16:12:24 +01:00
Jinn Koriech
feb669f203 Support recent java versions > 8u99 built with make-jpkg 0.53
The previous make-jpkg from java-package_0.50 doesn't support building java
versions with three digits in the release number.  Therefore it has been
necessary to upgrade java-packaages to the newer 0.53 version.

Building oracle packages using the java-package tools 0.53 results in package
with a new naming scheme as compared to 0.50.  In particular where the packages
were previously named oracle-j2re1.8 they are now named oracle-java8-jre, while
oracle-j2dk1.8 has become oracle-java8-jdk.  The alternatives naming has also
changed.

We also need to handle the system architecture naming on debian systems where
Debian names it's 64bit architecture 'amd64' and Oracle use 'x64'.  This results
in the java_home path using x64 rather than amd64.  We need to handle this
variation while also accommodating all architectures, and only for the recent
packages.

Given this has only been tested on Ubuntu, and the make-jpkg tooling is managed
in the Debian flavour, the changes are only applied to that code branch.

Jinn Koriech & Doug Neal
2016-09-08 15:43:38 +01:00
root
d30954ebc4 support java on debian stretch 2016-09-07 20:16:31 +02:00
Eric Putnam
a39d5dbafa Merge pull request #190 from puppetlabs/modulesync
Update modulesync_config [a3fe424]
2016-08-26 13:55:43 -07:00
David Schmitt
f8a897c5cf Update modulesync_config [a3fe424] 2016-08-26 18:42:08 +02:00
Helen
9179d65d68 Merge pull request #186 from puppetlabs/update-modulesync
(MAINT) Update for modulesync_config 72d19f184
2016-07-29 15:03:04 +01:00
David Schmitt
b37d69c314 (MAINT) Update for modulesync_config 72d19f184 2016-07-27 15:43:59 +01:00
Hunter Haugen
47e567a94c Merge pull request #185 from LightAxe/master
Add support for Oracle Linux
2016-07-20 15:46:45 -07:00
RoboGi
9dbe1ce9bb Changed from operatingsystem to osfamily to match other RHEL derivitives such as Oracle Linux 2016-07-19 11:25:36 -07:00
Nate Potter
dd8f85a2fa (MODULES-2971) Add java_home to all operating systems
This patch adds the java_home variable to all supported
operating systemd, and gives the user the option to
set it themselves. It also updates config.pp to
ensure that the JAVA_HOME variable is set to
the desired java_home.
2016-07-16 21:32:26 -07:00
TP Honey
71a8bed51d Merge pull request #183 from DavidS/modulesync
(MODULES-3581) modulesync [067d08a]
2016-07-11 09:22:13 +01:00
David Schmitt
19d44bb5cf (MODULES-3581) modulesync [067d08a] 2016-07-08 13:34:17 +01:00
Greg Hardy
5c2e3528bb Merge pull request #179 from puppetlabs/modulesync
{maint} modulesync 0794b2c
2016-06-30 15:45:09 +01:00
tphoney
c99b28bab0 {maint} modulesync 0794b2c 2016-06-30 14:38:10 +01:00
Hunter Haugen
a5c137d735 Merge pull request #177 from puppetlabs/release
1.6.0 Release mergeback
2016-06-13 16:17:02 -07:00
Helen
72a801c1e9 Merge pull request #176 from jbondpdx/release
minor edit on new text
1.6.0
2016-06-09 18:13:58 +01:00
jbondpdx
e038a13474 minor edit on new text 2016-06-09 09:59:13 -07:00
Hunter Haugen
ff158b6c68 Merge pull request #175 from HelenCampbell/release
1.6.0 Release Prep
2016-06-08 11:29:55 -07:00
Helen Campbell
addb6e0931 1.6.0 Release Prep 2016-06-08 19:27:51 +01:00
David Schmitt
124abf1278 Merge pull request #173 from edge-records/patch-1
custom archive type needs extract_path
2016-05-26 12:28:09 +01:00
David Schmitt
a45aee2567 Merge pull request #174 from edge-records/patch-2
Also support RedHat for Oracle Java
2016-05-26 12:27:47 +01:00
edge-records
a74be5a7f8 Also support RedHat for Oracle Java
Works fine for me, tested on RHEL6.
2016-05-25 11:00:29 +01:00
edge-records
4f700ca1e3 custom archive type needs extract_path
archive type's extract_path doesn't have a default parameter and needs to be set (see https://github.com/voxpupuli/puppet-archive/blob/master/lib/puppet/type/archive.rb#L71-L78). If I don't set one I get the following error when trying to use this module:

Error: Failed to apply catalog: No title provided and :file is not a valid resource reference
2016-05-25 10:58:02 +01:00
JT (Jonny)
519e2d7b77 Merge pull request #171 from jonnytpuppet/tylerjl/sles-11.4-java
Update java package for SLES 11.4
2016-05-10 11:33:44 +01:00
Tyler Langlois
4b5cbc4d33 Update java package for SLES 11.4
As of SLES 11.4, Java 1.6 has been deprecated in favor of 1.7:
https://www.suse.com/releasenotes/x86_64/SLE-SDK/11-SP4/#fate-318121
2016-05-10 11:15:28 +01:00
Bryan Jen
f4d218a162 Merge pull request #170 from gerhardsam/fix_doc_typo
Fix typo in documentation for class oracle
2016-05-04 09:56:37 -07:00
Sebastian Gerhards
3d8d4d76e0 Fix typo in documentation for class oracle 2016-05-02 15:08:51 +02:00
Greg Hardy
829b8d6448 Merge pull request #169 from puppetlabs/update-msync
Update to newest modulesync_configs [9ca280f]
2016-04-19 11:30:59 +01:00
David Schmitt
aafb208671 Update to newest modulesync_configs [9ca280f] 2016-04-18 20:15:09 +01:00
David Schmitt
de4dfde37a Merge pull request #168 from tphoney/fix_strict_vars
(maint) fix test to run under strict variables
2016-04-13 09:55:23 +01:00