Sha256: 290bc92de449d1fcec699d7dbc39cb0f9d248f96925cc5cf46d9334de235779e
Contents?: true
Size: 543 Bytes
Versions: 45
Compression:
Stored size: 543 Bytes
Contents
Standup.script :node do self.description = 'Run remote shell (e.g. bash)' def run make_shell end def make_shell shell_command = '' return unless instance command = "#{ssh_string} -t '#{shell_command}'" bright_p command Kernel.exec command end protected def ssh_string return '' unless instance "ssh -i #{Standup::Settings.aws.keypair_file} -C -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null #{params.extra_options} #{scripts.ec2.params.ssh_user}@#{instance.external_ip}" end end
Version data entries
45 entries across 45 versions & 1 rubygems