Bryan Jen
bfc03a54c5
re-orders case statements in manifests to workaround PUP-4520.
2015-06-24 13:49:19 -07:00
Sebastian Reitenbach
5815242f8e
Add support for OpenBSD, and also add some regression tests.
...
Add info about OpenBSD support to README.md and metadata.json
Add a note about OpenBSD java_version fact to README.markdown.
Fixup wording on context in one of the java patch level regression tests.
No mentioning of OpenBSD in metdata.json
Cleanup wording of context as suggested by @elyscape
update contexts as suggested by @elyscape
2015-04-23 12:29:11 +02:00
Lutz Behnke
e22aa3a36a
add support for ubuntu vivid (15.04) using openjdk-8
...
add acceptance test node without really understanding what it does.
add test for distribution type jdk for Ubuntu vivid
2015-04-01 08:16:07 +02:00
Scott K Logan
98447f03e7
Fix Fedora 21+ package name
...
java-1.7.0-openjdk is no longer available in Fedora 21+
2015-01-31 22:50:06 -08:00
Richard Pijnenburg
3b290abddf
Use --jre-headless instead of --jre
...
In some cases it can cause problems and report these kind of errors:
$ update-java-alternatives -s /usr/lib/jvm/java-1.7.0-openjdk-amd64 --jre
update-alternatives: error: no alternatives for policytool
update-alternatives: error: no alternatives for policytool
2015-01-07 22:51:26 +00:00
rmenezes
0c2e8bb610
Add Java alternatives for RHEL based distros.
2014-12-26 15:10:37 -08:00
Colleen Murphy
89e3a04258
Merge pull request #91 from justinstoller/maint/master/lint-fix
...
variable best practice (stop yelling at me linter)
2014-12-03 09:41:19 -08:00
Justin Stoller
359528b7f9
variable best practice (stop yelling at me linter)
2014-12-02 16:00:48 -08:00
Patrick Hervieux
b04c8a9148
add utopic support
2014-11-14 15:41:02 +01:00
Morgan Haskel
d845e5fdd9
Merge pull request #76 from PierreR/patch-1
...
cosmetic: default in last position
2014-11-12 10:50:39 -08:00
Morgan Haskel
f95aad63a5
Revert "Add alternative support for RedHat"
2014-11-12 10:29:12 -08:00
Morgan Haskel
b00b4b8662
Merge pull request #61 from convectionlabs/master
...
Add alternative support for RedHat
2014-11-12 10:19:57 -08:00
Travis Fields
abad30de06
Update defaults for SLES
...
Fixed test issues with solaris-11 and added support for sles-12
2014-11-05 16:04:52 -08:00
Morgan Haskel
7224baa72d
Merge pull request #64 from kian/master
...
place default case last in selectors
2014-10-29 18:48:16 -04:00
Pi3r
5ad98b17be
Fix syntax
2014-09-01 14:39:24 +02:00
Pi3r
7580a25018
cosmetic: default in last position
...
The main motivation for this change is for compatibility with puppetresource (https://github.com/bartavelle/language-puppet ).
IMHO, it makes much more sense this way because all cases are checked order wise.
2014-09-01 13:53:08 +02:00
Kian Mohageri
a04e88d658
place default case last in selectors
...
According to the selector documentation (https://docs.puppetlabs.com/puppet/latest/reference/lang_conditional.html#selectors ), the default case should be last:
"Cases are compared in the order that they are written in the manifest; thus, the default case (if any) must be at the end of the list."
This is fixed in 3.7+ but would be nice to fix in this module for people using < 3.7
See also https://tickets.puppetlabs.com/browse/PUP-2642
2014-08-21 17:51:34 -07:00
Hunter Haugen
dcdc96187d
Remove empty package test and validation
...
an empty variable is apparently the same thing as undef, which causes
the packages to be selected as usual.
2014-08-13 13:11:28 -07:00
Hunter Haugen
5683eaf74e
Add some validation and more tests
2014-08-13 12:17:41 -07:00
Hunter Haugen
502c94b8ed
Add acceptance tests
...
This includes tests for installing openjdk jdk & jre on most PE
supported platforms.
2014-08-12 09:10:59 -07:00
denise stockman
4f917d96f1
Add alternative support for RedHat
2014-06-06 10:52:42 -07:00
31337
f7d1b2df49
Added jessie as a supported realese
2014-04-08 09:41:24 +02:00
Ansgar Jazdzewski
6b16325674
add support for ubuntu 14.04 trusty
2014-03-25 16:30:59 +01:00
Nathan Sullivan
2f4232af6b
plus signs are valid in debian/ubuntu package versions
2014-01-06 15:29:52 +10:00
Ashley Penney
4eab7dd77f
Merge pull request #46 from openstack-hyper-v/master
...
adding support for ubuntu saucy
2013-11-18 10:52:41 -08:00
Lienhart Woitok
dea01a7445
Add $java_home variable
...
On several places I needed to set the JAVA_HOME environment variable
for some software. To have this controlled in a central place I added
it here.
2013-11-18 11:11:24 +01:00
Peter Pouliot
c2a3171e55
adding support for ubuntu saucy
2013-11-15 01:50:07 -05:00
jengels
3dc47805e1
Update params.pp
...
Added Scientific Linux to list of RedHat operating systems
2013-09-23 11:34:58 +02:00
Matthaus Owens
bf7edcf299
Update java packages for Fedora systems
...
The java package on Fedora is currently java-1.7.0-openjdk for their basic
java, and java-1.7.0-openjdk-devel for a development set. Fedora 16 had
java-1.6.0-openjdk, but it has been EOL for a long time. This commit updates
the default java for Fedora to the 1.7.0 package.
2013-08-01 12:15:12 -07:00
Krzysztof Suszyński
50a23d1704
Adding support for Oracle Enterprise Linux
2013-07-26 13:53:25 +02:00
Brett Porter
aa89d8b510
Add support for natty
...
Reimplementation of PR #19 to cleanup superfluous commits, and adjust to new
module structure.
2013-07-13 13:28:33 +10:00
Brett Porter
e73f175f3a
Merge branch 'master' of https://github.com/rombert/puppetlabs-java into rombert-master
...
Conflicts:
manifests/params.pp
2013-07-13 13:22:44 +10:00
Brett Porter
9188f0e15a
Merge pull request #29 from actionjack/master
...
Added support for Amazon linux
2013-07-12 20:11:22 -07:00
Sharif Nassar
ad93b44405
Support multiple JVM, and Debian alternatives.
...
Add ability to customize which JVM is installed on Debian.
Additionally, configure alternatives on Debian.
2013-06-20 16:29:20 -07:00
Martin Jackson
9fcf5d1a23
Added support Amazon Linux using facter >= 1.7.x. Fixes 1.
2013-06-20 11:03:01 +01:00
Robert Munteanu
3ac6dd5966
Add support for OpenSUSE
2013-06-10 17:44:27 +03:00
Brett Porter
cde7046e99
Merge branch 'fixes_for_centos_versions' of https://github.com/garethr/puppetlabs-java into garethr-fixes_for_centos_versions
...
Conflicts:
Modulefile
README.markdown
manifests/init.pp
spec/spec_helper.rb
2013-06-02 21:47:19 -07:00
Nathan R Valentine
f85cbd5381
add support for Ubuntu quantal and raring
2013-05-31 19:38:12 -07:00
Reid Vandewiele
5091d7fd6a
Add package as class parameter
...
In case the defaults aren't good enough
2013-04-04 20:19:37 -07:00
Reid Vandewiele
f7a95a1e0e
Refactor and reduce
...
The module in its previous incarnation was unnecessarily hard to read
and use. This commit applies the "params" pattern in order to more
clearly deliniate between logical variable selection and actual
declarative configuration.
2013-04-04 20:19:36 -07:00
Gareth Rushgrove
5007be2226
get correct jdk version for centos 5.8 and 6.3
2013-04-02 16:08:14 +01:00
Scott Schneider
ff80bc7f79
Merge pull request #23 from haus/fix_fedora
...
Add special case for fedora operating systems, where java is installable...
2013-02-19 15:59:08 -08:00
Matthaus Owens
995b985d37
Add special case for fedora operating systems, where java is installable, but jdk is not.
2013-02-19 15:37:30 -08:00
Scott Schneider
7264c4022e
Adding java::package_suse class
2012-12-27 10:59:12 -08:00
Scott Schneider
c797e52851
Add Solaris support
2012-11-15 11:23:08 -08:00
Eric Shamow
3afa0813ea
Use osfamily instead of operatingsystem to determine package
...
osfamily is slightly more forgiving, especially for RHEL-based
distributions.
2012-07-10 15:50:27 -06:00
Cody Herriges
d027d35e2d
Fixing a couple style discrepancies.
...
Update a couple minor style things that were noticed while making previous
changes.
2012-05-09 15:47:48 -07:00
Cody Herriges
30b07259a2
Moves debain packages to openjdk.
...
Change sun-java6-* packages to their openjdk equivalents and add conditional
based on lsb codename to determine which version to install.
2012-05-09 15:43:19 -07:00
Carl Caum
a671ad7cc4
Allow distributions starting with java
...
Some java distributions can start with java, such as java-sun or java-1.6.0-openjdk. We should allow these to be specified
2011-09-13 19:55:24 +00:00
Ken Barber
b547e53a8b
5 - Provide a preseed file that preseeds license signing for java packages.
2011-06-24 22:52:58 +02:00