Class: Sprinkle::Installers::Deb

Inherits:
PackageInstaller show all
Defined in:
lib/sprinkle/installers/deb.rb

Overview

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

Attributes inherited from PackageInstaller

#packages

Attributes inherited from Installer

#delivery, #options, #package, #post, #pre

Instance Method Summary collapse

Methods inherited from PackageInstaller

auto_api, #initialize, #install_package

Methods inherited from Installer

#announce, api, #commands_from_block, #defer, #escape_shell_arg, inherited, #initialize, #install_sequence, #method_missing, #per_host?, #post_process, #process, subclasses, verify_api

Methods included from Sudo

#sudo?, #sudo_cmd, #sudo_stack

Methods included from Attributes

#defaults, #set_defaults

Constructor Details

This class inherits a constructor from Sprinkle::Installers::PackageInstaller

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Sprinkle::Installers::Installer

Instance Method Details

#debObject

install deb packages from an external URL :call-seq:

deb(*package_urls)

19
# File 'lib/sprinkle/installers/deb.rb', line 19

auto_api :deb