How to remove multversion packages with chef?

309 views Asked by At

I would like to remove certain versions of "multiversion" packages (kernel in my case) with chef on SUSE Linux (for now). Afterwards I want to install a new version for the same package.
I could not find a way to do it. "package" does not seem to work, and the documentation also only talks about installing specific versions, nor does rpm_package work. For example

package "kernel-desktop" do
  version "3.12.1-1"
  action :remove
end

does not seem do anything

0

There are 0 answers