Class: Sprinkle::Installers::Thor

Inherits:
Rake show all
Defined in:
lib/sprinkle/installers/thor.rb

Overview

Thor Installer

This installer runs a thor task.

Example Usage

The following example runs the command “thor spec” on the remote server.

package :spec do
  thor 'spec'
end

Specify a Thorfile with the :thorfile option.

package :spec do
  thor 'spec', :file => "/var/setup/Thorfile"
end

Instance Attribute Summary

Attributes inherited from Installer

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

Method Summary

Methods inherited from Rake

#initialize

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::Rake

Dynamic Method Handling

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