class Sprinkle::Installers::Reconnect
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
Public Instance Methods
reconnect(options={}, &block)
click to toggle source
# File lib/sprinkle/installers/reconnect.rb, line 16 def reconnect(options={}, &block) install Sprinkle::Installers::Reconnect.new(self, options, &block) end