Class: Sprinkle::Installers::Rpm
- Defined in:
- lib/sprinkle/installers/rpm.rb
Overview
RPM Package Installer
The RPM package installer installs RPM packages.
Example Usage
Installing the magic_beans RPM. Its all the craze these days.
package :magic_beans do
rpm 'magic_beans'
end
You may also specify multiple rpms as an array:
package :magic_beans do
rpm %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) ⇒ Rpm
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/rpm.rb', line 21 def packages @packages end |