Module: Apt
- Defined in:
- lib/repo_conf_generators/apt_conf_generators.rb,
lib/repo_conf_generators/rightscale_conf_generators.rb
Overview
Examples of usage… Yum::RightScale::Epel.generate(“Epel description”, [“a.com/epel”,“b.com/epel”], “20081010”)
Defined Under Namespace
Modules: RightScale, Ubuntu
Class Method Summary collapse
Class Method Details
.execute(command) ⇒ Object
154 155 156 157 158 |
# File 'lib/repo_conf_generators/rightscale_conf_generators.rb', line 154 def self.execute(command) res = `#{command}` raise "Error #{RightScale::SubprocessFormatting.reason($?)} executing: `#{command}`: #{res}" unless $? == 0 res end |