4

I am trying to remove packages using a chef.
i.e. remove java 1.6 and install java 1.4

closed as not a real question by RolandoMySQLDBA, Alex, mdpc, Scott Pack, Ward Jan 8 '13 at 3:08

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. If this question can be reworded to fit the rules in the help center, please edit the question.

9
package "sun-java6-jdk" do
  action :remove
end

See http://wiki.opscode.com/display/chef/Resources#Resources-Package

  • Thank you, I read that page and guess my brain was not engaged. – C. Alex Roeber Jan 7 '13 at 22:25

Not the answer you're looking for? Browse other questions tagged or ask your own question.