Skip to content

Commit

Permalink
Updated readme and code documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
tylerwalts committed Mar 16, 2014
1 parent 7a37823 commit 8687906
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 21 deletions.
36 changes: 18 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,26 @@ This approach was inspired by: http://stackoverflow.com/questions/10268583/how-t


Currently Supported:
* RedHat Family (RedHat, Fedora, CentOS)
* Java 6, 7
* RedHat Family (RedHat, Fedora, CentOS)
* Java 6, 7

* This may work on other linux flavors but more testing is needed. Please seend feedback!

Installation:
=============


A) Traditional:
* Copy this project into your puppet modules path and rename to "jdk_oracle"

B) Puppet Librarian:
* Put this in your Puppetfile:
From Forge:
```
mod "tylerwalts/jdk_oracle"
```

From Source:
```
mod "jdk_oracle",
:git => "git://github.com/tylerwalts/puppet-jdk_oracle.git"
Expand Down Expand Up @@ -59,7 +67,7 @@ OR
config.yaml:
```
---
classes:
classes:
- "jdk_oracle"
jdk_oracle::version: "6"
```
Expand All @@ -74,20 +82,12 @@ Parameters:
===========

* version
* Java Version to install
* java_install_dir
* Java Installation Directory
* use_cache
* Optionally host the installer file locally instead of fetching it each time, for faster dev & test


TODO:
=====

* Add links for other OS families
* Automate installation of security policies


* Java Version to install
* java_install_dir
* Java Installation Directory
* use_cache
* Optionally host the installer file locally instead of fetching it each time, for faster dev & test
* platform
* The platform to use

[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/tylerwalts/puppet-jdk_oracle/trend.png)](https://bitdeli.com/free "Bitdeli Badge")

26 changes: 23 additions & 3 deletions manifests/init.pp
Original file line number Diff line number Diff line change
@@ -1,7 +1,27 @@
# Installs the Oracle Java JDK
# == Class: jdk_oracle
#
# Installs the Oracle Java JDK, from the Oracle servers
#
# === Parameters
#
# [*version*]
# String. Java Version to install
# Defaults to <tt>7</tt>.
#
# [* java_install_dir *]
# String. Java Installation Directory
# Defaults to <tt>/opt</tt>.
#
# [* use_cache *]
# String. Optionally host the installer file locally instead of fetching it each time (for faster dev & test)
# The puppet cache flag is for faster local vagrant development, to
# locally host the tarball from oracle instead of fetching it each time.
# Defaults to <tt>false</tt>.
#
# [* platform *]
# String. The platform to use
# Defaults to <tt>x64</tt>.
#
# The puppet cache flag is for faster local vagrant development, to
# locally host the tarball from oracle instead of fetching it each time.
#
class jdk_oracle(
$version = hiera('jdk_oracle::version', '7' ),
Expand Down

0 comments on commit 8687906

Please sign in to comment.