Skip to content

Commit

Permalink
Added JDK package install code block back into default.rb. This was r…
Browse files Browse the repository at this point in the history
…emoved

by mistake and the JDK must be installed to start the CM server.
  • Loading branch information
Paul Webster authored and Paul Webster committed Feb 9, 2012
1 parent 68dd0a8 commit f182825
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
5 changes: 5 additions & 0 deletions chef/cookbooks/clouderamanager/recipes/default.rb
Expand Up @@ -26,6 +26,11 @@
# Configuration filter for our crowbar environment
env_filter = " AND environment:#{node[:clouderamanager][:config][:environment]}"

# Install the Oracle/SUN JAVA package (Hadoop requires the JDK).
package "jdk" do
action :install
end

# Find the master name nodes (there should only be one).
keys = {}
master_name_nodes = Array.new
Expand Down
4 changes: 1 addition & 3 deletions chef/data_bags/crowbar/bc-template-clouderamanager.json
Expand Up @@ -3,9 +3,7 @@
"description": "Common libraries and utilities that provides the basic Hadoop runtime environment (HDFS/Map Reduce). A set of components and interfaces which implements a distributed filesystem and provides general I/O access for the hadoop framework (serialization, Java RPC and persistent data storage).",
"attributes": {
"clouderamanager": {
"debug": true,
"admin_ip_eval": "Chef::Recipe::Barclamp::Inventory.get_network_by_type(node, \"admin\").address",
"admin_interface_eval": "Chef::Recipe::Barclamp::Inventory.get_network_by_type(node, \"admin\").interface"
"debug": true
}
},
"deployment": {
Expand Down
4 changes: 1 addition & 3 deletions chef/data_bags/crowbar/bc-template-clouderamanager.schema
Expand Up @@ -12,9 +12,7 @@
"type": "map",
"required": true,
"mapping": {
"debug": { "type": "bool", "required": true},
"admin_ip_eval": { "type": "str", "required": true },
"admin_interface_eval": { "type": "str", "required": true }
"debug": { "type": "bool", "required": true}
}
}
}
Expand Down

0 comments on commit f182825

Please sign in to comment.