Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

share|improve this question

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.

1 Answer 1

up vote 6 down vote accepted
package "sun-java6-jdk" do
  action :remove
end

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

share|improve this answer
    
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.