Commit Graph

315 Commits

Author SHA1 Message Date
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
TP Honey
3fa562a033 Merge pull request #166 from alexharv074/fix_rspec_deprecation_warnings
Fix up rspec deprecation warnings.
2016-04-13 07:42:54 +01:00
tphoney
b9a864e313 (maint) fix test to run under strict variables 2016-04-13 06:55:17 +01:00
Hunter Haugen
bc8bed2c65 Merge pull request #167 from puppetlabs/1.5.x
1.5.x mergeback
2016-04-12 14:48:03 -07:00
Alex Harvey
4775718a2f Fix up rspec deprecation warnings. 2016-04-12 22:52:51 +10:00
TP Honey
1165f3aaa2 Merge pull request #165 from alexharv074/fix_typo_in_readme
Fix typo in README.markdown
2016-04-11 16:57:57 +01:00
Alex Harvey
3f2825c5e2 Fix typo in README.markdown 2016-04-09 22:53:20 +10:00
David Schmitt
8e0c06cba9 Merge pull request #164 from s12v/master
Add Ubuntu 16.04
2016-04-04 14:27:13 +01:00
David Schmitt
0e47d95a71 Merge pull request #162 from npwalker/add_example_for_java_8
Add an example for installing java 8
2016-04-04 14:26:42 +01:00
Bryan Jen
9d43ed058e Merge pull request #163 from HelenCampbell/1.5.0
Release prep for 1.5.0
1.5.0
2016-03-31 09:38:54 -07:00
Sergey Novikov
afcb95b10b Add Ubuntu 16.04 2016-03-31 18:30:26 +02:00
Helen Campbell
15aff36b79 Release prep for 1.5.0 2016-03-31 17:21:59 +01:00
Nick Walker
7ab4bc1b37 Add an example for installing java 8
Prior to this commit, the documentation was lacking an example of how to install a specific version of java.  Which led users to believe that they should use the version parameter.  

After this commit, we have an example showing the correct way to install a different major verison of java is to use the package parameter.
2016-03-29 07:40:46 -07:00
Hunter Haugen
749a735559 Merge pull request #159 from mmarseglia/master
Add support for official Oracle Java SE jdk and jre packages for CentOS
2016-03-02 10:08:57 -08:00
Marseglia. Mike
2bc036e043 fix syntax error in metadata.json 2016-02-26 11:47:16 -05:00
Marseglia. Mike
07767f0c8d update README with java::oracle usage, notes. removed puppet/archive as dependency since it is only required for java::oracle. 2016-02-26 11:18:46 -05:00
Hunter Haugen
b2c073e651 Merge pull request #160 from jyaworski/rhel71_java8
Use java 8 as the default on RHEL > 7.0
2016-02-24 10:55:54 -08:00
Joseph Yaworski
c8e46b5db2 Use java 8 as the default on RHEL > 7.0 2016-02-24 13:38:06 -05:00
Marseglia. Mike
06aecdb62a Add support for official Oracle Java SE jdk and jre packages for CentOS 2016-02-18 14:15:19 -05:00
Helen
a2e4898550 Merge pull request #158 from DavidS/debian-8-support
Update metadata to note Debian 8 support
2016-02-17 12:15:10 +00:00
David Schmitt
1c3dd32c81 Update metadata to note Debian 8 support 2016-02-17 11:58:14 +00:00
TP Honey
7b073c5ef6 Merge pull request #157 from DavidS/fm-4046-update-msync
(FM-4046) Update to current msync configs [006831f]
2016-02-16 17:04:40 +00:00
David Schmitt
7f4f864dfc (FM-4046) Update to current msync configs [006831f]
This moves all copyright statements to the NOTICE file in accordance with the ASFs guidelines on applying the Apache-2.0 license.
2016-02-16 16:33:34 +00:00
Bryan Jen
9a0fc641f9 Merge pull request #156 from joerayme/allow-tildes-in-version
Allow tildes in version to support webupd8team's packages
2016-02-08 09:09:10 -07:00
Joe Ray
e6a026d3c8 Merge branch 'master' into allow-tildes-in-version 2016-02-05 15:23:03 +00:00
Joe Ray
3bb3f325b7 Allow tildes in version to support webupd8team's packages
See http://ppa.launchpad.net/webupd8team/java/ubuntu/pool/main/o/oracle-java8-installer/
2016-02-05 15:05:19 +00:00
TP Honey
5152c9c25e Merge pull request #151 from tux-o-matic/master
Can now pass options to package provider
2016-01-29 13:39:13 +00:00
Benjamin Merot
3842d6f657 Added possibility to pass options to package
Exposed the Puppet 'package' resource's 'install_options' parameter via a new class parameter names 'package_options*. It takes an array of strings to pass installation options to the package provider of the targer OS (yum, apt-get, ...)

Added validation of $package_options array

Using stdlib' validate_array function to ensure that $package_options is a valid array (also if just empty).

Cleaned array validation line

Made $package_options undef by default

Class parameter $package_options is now set to undef by default, validation is done in the class to ensure only an array would be passed to it if set.

Added case for 'package_options' parameter

Will test the use of the 'package_options' parameter being passed the YUM option --downloadonly which will see YUM return 0 but package will not be installed on system.

Simplified test of 'package_options' parameter

As the test 'select openjdk for Fedora 21 without installing' expects with a successful YUM run but the 'java' package not present, specifying package version is irrelevant.

New case for complete installation with YUM option

Added new case using 'package_options' with a a YUM option expected to not prevent rpm installation.
Also added distribution parameter for test of 'pacakge_options' with yum option expected to prevent package installation.

Removed validation of package name

Removed validation of package name as it is not meant to be testing by 'select passed value for Fedora 21 with yum option'

Removed test with '--downloadonly'

The test of 'package_options* with the YUM option '---downloadonly' can't seem to be validate in CI.
Other test 'select passed value for Fedora 21 with yum option' covers passing a value to 'package_options* and passes test in CI.
2016-01-29 10:57:24 +01:00
Hunter Haugen
d69eedd7e2 Merge pull request #154 from DavidS/fm-4049-update-msync
(FM-4049) update to modulesync_configs
2016-01-27 08:36:38 -08:00
David Schmitt
3b8bba05ca (FM-4049) Update to current msync configs [2c99161] 2016-01-27 14:35:45 +00:00
TP Honey
aee0f6bc3f Merge pull request #153 from petems/MODULES-2928-add_freebsd_support
(MODULES-2928) Adds FreeBSD Support
2015-12-29 14:46:32 +00:00
Peter Souter
f1f2b830a0 (MODULES-2928) Adds FreeBSD Support
* Note this won't work by default on FreeBSD Puppet < 4.0, as pkgng is not the default provider 
* On older Puppet, use `zleslie/pkgng`, on newer it's the default package provider.
2015-12-29 13:11:47 +00:00
Bryan Jen
59a24e9eaf Merge pull request #152 from thomasodus/master
Added support for oracle-j2re1.8 and oracle-j2sdk1.8
2015-12-22 15:46:40 -07:00
thomas odukogbe
3a7ed12d49 Added support for oracle-j2re1.8 and oracle-j2sdk1.8 2015-12-21 11:27:45 +00:00
Helen Campbell
5b6470acf6 Merge remote-tracking branch 'upstream/1.4.x' 2015-12-08 16:23:35 +00:00
David Schmitt
4764484970 Merge pull request #117 from ccin2p3/f/libjvm_fact
add two facts: libjvm and java executable paths
2015-12-01 13:19:21 +00:00
Fabien Wernli
9c154890a3 add two facts: java_libjvm_path java_default_home
* dirname containing base directory of java
* e.g. java binary is `${::java_default_home}/jre/bin/java`

* dirname containing `libjvm.so`
* Most people will use this for LD_LIBRARY_PATH
2015-12-01 12:13:11 +01:00