Sha256: 2b1ac12148b3574fb03db37a221e9dd7cdf3b3f3d61c4cd67f9ffc54c5f97e17

Contents?: true

Size: 255 Bytes

Versions: 2

Compression:

Stored size: 255 Bytes

Contents

Standup.script do
  self.description = 'Run remote shell (e.g. bash)'
  
  def run
    make_shell
  end
  
  def make_shell shell_command = ''
    command = "#{node.ssh_string} -t '#{shell_command}'"
    bright_p command
    Kernel.exec command
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
standup-0.3.3 scripts/shell.rb
standup-0.3.2 scripts/shell.rb