Class: Configspec::Commands::RedHat

Inherits:
Linux
  • Object
show all
Defined in:
lib/configspec/commands/redhat.rb

Instance Method Summary collapse

Methods inherited from Base

#check_installed, #escape

Instance Method Details

#install(package) ⇒ Object



4
5
6
# File 'lib/configspec/commands/redhat.rb', line 4

def install(package)
  cmd = "yum -y install #{package}"
end