Commit Graph

463 Commits

Author SHA1 Message Date
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
Brett Porter
44280b3535 Merge pull request #26 from nrvale0/add_quantal
add support for Ubuntu quantal and raring
2013-06-02 20:52:17 -07:00
Nathan R Valentine
f85cbd5381 add support for Ubuntu quantal and raring 2013-05-31 19:38:12 -07:00
Matthaus Owens
bd50a396ef Merge pull request #25 from reidmv/reduce_complexity
Reduce complexity
0.3.0
2013-04-06 23:00:17 -07:00
Reid Vandewiele
b46f256b11 Remove cruft and bumb version number 2013-04-04 20:19:37 -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
f5ee99f297 update list of tested repositories in readme 2013-04-02 16:15:57 +01:00
Gareth Rushgrove
b637c2e7e7 format modulefile 2013-04-02 16:08:37 +01:00
Gareth Rushgrove
5007be2226 get correct jdk version for centos 5.8 and 6.3 2013-04-02 16:08:14 +01:00
Gareth Rushgrove
4b54bab0cb add tests for the current an expected centos behaviour 2013-04-02 16:07:20 +01:00
Gareth Rushgrove
1d5c5992ab ignore fixtures downloaded by test runner 2013-04-02 16:06:16 +01:00
Gareth Rushgrove
6a4ca4f7c7 add rake file to run tests and build module 2013-04-02 16:05:40 +01:00
Gareth Rushgrove
d15243493b add puppet module dependencies for testing 2013-04-02 16:04:57 +01:00
Gareth Rushgrove
1f7545b213 add testing dependencies 2013-04-02 16:04:31 +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
Matthaus Owens
234fd7b650 Merge pull request #22 from puppetlabs/suse_support
Adding java::package_suse class
2013-01-08 15:38:35 -08:00
Scott Schneider
7264c4022e Adding java::package_suse class 2012-12-27 10:59:12 -08:00
Adrien Thebo
017a749d13 Merge pull request #18 from sschneid/master
Add Solaris support
0.2.0
2012-11-15 11:58:49 -08:00
Scott Schneider
e37f6d5af6 Bumping version to 0.2.0 2012-11-15 11:55:53 -08:00
Scott Schneider
c797e52851 Add Solaris support 2012-11-15 11:23:08 -08:00
Chris Price
4ab58a2f88 Merge pull request #14 from eshamow/use_osfamily_instead_of_operatingsystem
Use osfamily instead of operatingsystem to determine package
2012-10-18 19:10:37 -07: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
Ben Hughes
4d7154516d Merge pull request #13 from ody/move_to_openjdk
Moves debain packages to openjdk.
2012-05-30 16:18:06 -07: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
Gary Larizza
6365fcd9f2 Merge pull request #11 from ccaum/master
Allow distributions starting with string `java`

Reviewed-by: Gary Larizza <gary@puppetlabs.com>
2011-09-13 19:28:29 -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
0e4dc2dd81 Merge pull request #10 from kbarber/issues/master/9_empty-metadata
9 - remove empty metadata.json from repo to avoid errors when using from
2011-06-25 11:25:33 -07:00
Ken Barber
4c1161891b 9 - remove empty metadata.json from repo to avoid errors when using from github. 2011-06-25 19:23:45 +01:00
Ken Barber
98e1d30235 Merge pull request #7 from kbarber/issue/master/5_preseed_for_license
5 - Provide a preseed file that preseeds license signing for java package
2011-06-25 11:17:26 -07:00
Ken Barber
b5854b3ef3 Merge pull request #8 from kbarber/issues/master/4_license-file
4 - Add license file.
2011-06-25 10:57:01 -07:00
Ken Barber
e6be2ed785 4 - Add license file. 2011-06-24 23:16:12 +02:00
Ken Barber
b547e53a8b 5 - Provide a preseed file that preseeds license signing for java packages. 2011-06-24 22:52:58 +02:00
Jeff McCune
3b674ac225 Whitespace only change to README 2011-06-16 19:02:34 -07:00
Jeff McCune
8a7c2fce30 Update CHANGELOG for version 0.1.5 v0.1.5 2011-06-16 18:59:07 -07:00
Jeff McCune
babdde5f02 Merge branch 'ticket/master/X_debian_support'
* ticket/master/X_debian_support:
  Bump stdlib module dependency to 0.1.6
  Update README for apt and rpm based platforms.
  Update the module example test manifest
  Add Debian based distro support.
2011-06-16 18:57:57 -07:00
Jeff McCune
0b541605e1 Bump stdlib module dependency to 0.1.6
This change is required because the anchor resource type
is not available in versions of puppetlabs-stdlib < 0.1.6
2011-06-16 17:47:56 -07:00
Jeff McCune
8aa2053c9d Update README for apt and rpm based platforms.
Package management for Lucid requires the partner
repository to be enabled.  This change documents
that fact.
2011-06-16 17:45:11 -07:00
Jeff McCune
12544569fb Update the module example test manifest
This change provides a clear indication about how relationships
are expected to be managed when the end user consumes the module.
2011-06-16 17:44:34 -07:00
Jeff McCune
e09792cea9 Add Debian based distro support.
This change separates the package resource into an implementation
class following the composite class pattern.

In addition, the _real variables have been removed to prevent
confusion.

The validation functions have been updated to support a more
clear regular expression.

The debian package names are different, so conditional logic
is required to set a debian based distro specific variable
for the Java distribution name.

While the puppet resources work, there is currently an issue
on Lucid where the package REQUIRES interactive installation
to accept the license agreement.  This will need to be fixed
for fully automated deployment on apt based systems.
2011-06-16 17:43:56 -07:00
Jeff McCune
3b00510615 Update CHANGELOG for version 0.1.4 0.1.4 2011-06-02 17:40:29 -07:00
Jeff McCune
07ea32a90c Merge branch 'bug/master/class_ordering'
* bug/master/class_ordering:
  Fix ordering issues with composed classes
2011-06-02 17:39:53 -07:00
Jeff McCune
c503afd73e Fix ordering issues with composed classes
The top level java module was declaring classes depending on what Java
distribution is required.  Similar to the issues encountered with
service and configuration class ordering, the composed classes did not
have an established relationship with other things that require the
module.

This change brings all resources into a single top level java class and
eliminates class composition within the module entirely.
2011-06-02 17:37:19 -07:00
Jeff McCune
cc1dd231e3 Update CHANGELOG for version 0.1.3 0.1.3 2011-05-28 14:14:02 -07:00
Jeff McCune
221a6d3dab Merge branch 'bug/master/get_rid_of_stages'
* bug/master/get_rid_of_stages:
  Remove stages from java module
2011-05-28 14:13:15 -07:00
Jeff McCune
7efde2db1e Remove stages from java module
The stages feature of stdlib is turning out to be more trouble than it's
worth.  Integrating the changes from Cody and Gary results in the entire
mcollective class being in the main stage.  We've already found is
preferable to have stages after main rather than before to avoid
dependency cycles.  This only works if all modules use stages.  The
first module to not use stages will create a cycle if it requires and
modules who do use stages and the stages come after main.
2011-05-28 14:00:39 -07:00
Jeff McCune
d93930d6e3 Update CHANGELOG to 0.1.2 0.1.2 2011-05-26 11:31:33 -07:00