I'm trying to figure out a way to use the package resource to install several packages together, all from files (I'm using CentOS, so the underlying mechanism is yum).
The problem I'm having is that a few of the packages have circular dependencies. So I cannot use the trivial approach:
packages.each do |pkg|
package "#{pkg}" do
action :install
source "#{dir}/#{dirname}/#{pkg}-*.#{arch}.rpm"
end
end
Is there a way to do something like this instead:
package "mypackages" do
action :install
source ["#{dir}/#{dirname}/#{pkg1}-*.#{arch}.rpm", "#{dir}/#{dirname}/#{pkg2}-*.#{arch}.rpm" ]
end
Thanks!
Archive powered by MHonArc 2.6.16.