Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
role to install java 7
"name": "just-java",
"description": "Installs Java 7",
"chef_type": "role",
"json_class": "Chef::Role",
"override_attributes": {
"java": {
"jdk_version" : "7",
"java_home" : "/usr/java/latest",
"install_flavor": "oracle",
"oracle": {
"accept_oracle_download_terms": true
"run_list": [
"env_run_lists": {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.