Sha256: 17077c5dcabe3403d8059a8ef1cddbecea1dd9c5f173cc4545f65b1cdb390b0c
Contents?: true
Size: 850 Bytes
Versions: 16
Compression:
Stored size: 850 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: :RECONNECT end end end end
Version data entries
16 entries across 16 versions & 1 rubygems