Class: Pot::Installers::Deb
- Inherits:
-
Pot::Installer
- Object
- Pot::Installer
- Pot::Installers::Deb
- Defined in:
- lib/pot/installers/deb.rb
Overview
Deb Package Installer
The Deb installer installs deb packages sourced from a remote URL
Example Usage
Installing the magic_beans deb.
package :magic_beans do
deb 'http://debs.example.com/magic_beans.deb'
end
Instance Attribute Summary collapse
-
#packages ⇒ Object
:nodoc:.
Attributes inherited from Pot::Installer
#actor, #options, #package, #post, #pre
Instance Method Summary collapse
-
#initialize(parent, packages, &block) ⇒ Deb
constructor
:nodoc:.
Methods inherited from Pot::Installer
#archives, #builds, #commands, #prefix, #process
Constructor Details
#initialize(parent, packages, &block) ⇒ Deb
:nodoc:
18 19 20 21 22 |
# File 'lib/pot/installers/deb.rb', line 18 def initialize(parent, packages, &block) #:nodoc: super parent, &block packages = [packages] unless packages.is_a? Array @packages = packages end |
Instance Attribute Details
#packages ⇒ Object
:nodoc:
16 17 18 |
# File 'lib/pot/installers/deb.rb', line 16 def packages @packages end |