From 0947024ad14ddba4c71fe06c7c61d6bc1cf1e855 Mon Sep 17 00:00:00 2001 From: Jan Krueger Date: Wed, 16 Oct 2013 17:26:31 -0400 Subject: [PATCH] Adding attributes for RS cookbook usage --- metadata.rb | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/metadata.rb b/metadata.rb index f2b29648..8eb16343 100644 --- a/metadata.rb +++ b/metadata.rb @@ -12,6 +12,20 @@ recipe "java::oracle_i386", "Installs the 32-bit jvm without setting it as the default" recipe "java::oracle_rpm", "Installs the Oracle RPM flavor of Java" +attribute "java/jdk_version", + :display_name => "Java Version", + :description => "The version to install", + :recipes => [ + "java::oracle" + ] + +attribute "java/oracle/accept_oracle_download_terms", + :display_name => "Oracle License Override", + :description => "Set to true to allow Oracle JDK to be installed and accept the license", + :recipes => [ + "java::oracle" + ] + %w{ debian ubuntu