<repo_name>MichiganCliffy/chef<file_sep>/cookbooks/mono/attributes/default.rb
default['mono']['install_method'] = "packages"

case platform
when "debian","ubuntu"
  default['mono']['prefix']	=	"/usr/local"
  default['mono']['branch']	=	"mono-3.0.12"
end
<file_sep>/roles/java.rb
name "java"
description "Java Stack"
override_attributes({
  "java" => {
     "jdk_version" => "7"
  }
})
run_list "recipe[java]","recipe[maven]"
<file_sep>/roles/tomcat7.rb
name "tomcat7"
description "Tomcat Stack"
override_attributes({
  "java" => {
     "jdk_version" => "7"
  },
  "tomcat" => {
     "base_version" => "7"
  }
})
run_list "recipe[java]","recipe[maven]","recipe[openssl]","recipe[tomcat]"
