Method: Profig.handle_rpm_set

Defined in:
lib/profig/install.rb

.handle_rpm_set(rpms) ⇒ Object



36
37
38
39
40
41
42
# File 'lib/profig/install.rb', line 36

def self.handle_rpm_set(rpms)
  cmd = "yum install -y"
  rpms.each do |rpm|
    cmd += ' '+ rpm.name
  end
  system cmd
end