Class: Sprinkle::Installers::Yum
- Defined in:
- lib/sprinkle/installers/yum.rb
Overview
Yum Package Installer
The Yum package installer installs RPM packages.
Example Usage
Installing the magic_beans RPM via Yum. Its all the craze these days.
package :magic_beans do
yum 'magic_beans'
end
You may also specify multiple rpms as an array:
package :magic_beans do
yum %w(magic_beans magic_sauce)
end
Instance Attribute Summary collapse
-
#packages ⇒ Object
:nodoc:.
Attributes inherited from Installer
#delivery, #options, #package, #post, #pre
Attributes included from Configurable
Instance Method Summary collapse
-
#initialize(parent, packages, &block) ⇒ Yum
constructor
:nodoc:.
Methods inherited from Installer
Methods included from Configurable
#assert_delivery, #defaults, #method_missing, #option?
Constructor Details
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Sprinkle::Configurable
Instance Attribute Details
#packages ⇒ Object
:nodoc:
21 22 23 |
# File 'lib/sprinkle/installers/yum.rb', line 21 def packages @packages end |