Class: Sprinkle::Installers::Reconnect
- Defined in:
- lib/sprinkle/installers/reconnect.rb
Overview
Disconnects and reconnects the remote SSH session, you might want to do this after pushing a file that would affect the local shell environment
Example Usage
package :download_with_proxy do
push_text proxy_config, "/etc/environment", :sudo => true
reconnect
source "http://someurlthatneedstheproxy.com/installer.tar.gz"
end
Instance Attribute Summary
Attributes inherited from Installer
#delivery, #options, #package, #post, #pre
Instance Method Summary collapse
-
#install_commands ⇒ Object
:RECONNECT is a symbol that the actors understand to mean to drop and reestablish any SSH conncetions they have open.
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
Constructor Details
This class inherits a constructor from Sprinkle::Installers::Installer
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Sprinkle::Installers::Installer