Skip to content

Commit

Permalink
Adds recipes to README
Browse files Browse the repository at this point in the history
  • Loading branch information
carmstrong committed Jan 18, 2014
1 parent ce4ac25 commit 76d5211
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,16 @@ NOTE: In most cases, including just the default recipe will be sufficient.
It's possible to include the install_type recipes directly, as long as
the necessary attributes (such as java_home) are set.

## set_attributes_from_version

Sets default attributes based on the JDK version. This logic must be in
a recipe instead of attributes/default.rb. See [#95](https://github.com/socrata-cookbooks/java/pull/95)
for details.

## purge_packages

Purges deprecated Sun Java packages.

## openjdk

This recipe installs the `openjdk` flavor of Java. It also uses the
Expand Down
2 changes: 1 addition & 1 deletion recipes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@
# limitations under the License.
#

include_recipe "java::compute_paths"
include_recipe "java::set_attributes_from_version"
include_recipe "java::#{node['java']['install_flavor']}"
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Cookbook Name:: java
# Recipe:: compute_paths
# Recipe:: set_attributes_from_version
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down

0 comments on commit 76d5211

Please sign in to comment.