Sha256: 92707fdf0eba3dee6eb9aa1af3a1caec132772bb1f1a685727f5d27c529659dd

Contents?: true

Size: 288 Bytes

Versions: 9

Compression:

Stored size: 288 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 = "#{node.ssh_string} -t '#{shell_command}'"
    bright_p command
    Kernel.exec command
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
standup-0.3.12 scripts/shell.rb
standup-0.3.11 scripts/shell.rb
standup-0.3.10 scripts/shell.rb
standup-0.3.9 scripts/shell.rb
standup-0.3.8 scripts/shell.rb
standup-0.3.7 scripts/shell.rb
standup-0.3.6 scripts/shell.rb
standup-0.3.5 scripts/shell.rb
standup-0.3.4 scripts/shell.rb