Sha256: 85eef051cd2004493fb4d5fb21d48232b90cb3f62be94308cc6d70ec5c4724cd
Contents?: true
Size: 865 Bytes
Versions: 4
Compression:
Stored size: 865 Bytes
Contents
module Sprinkle module Installers # 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 class Reconnect < Installer api do def reconnect(options={}, &block) install Sprinkle::Installers::Reconnect.new(self, options, &block) end end # :RECONNECT is a symbol that the actors understand to mean to drop # and reestablish any SSH conncetions they have open def install_commands #:nodoc: Commands::Reconnect.new() end end end end
Version data entries
4 entries across 4 versions & 1 rubygems