class Specinfra::Backend::BeakerBase
Attributes
Example accessor
Public Instance Methods
Source
# File lib/beaker-rspec/helpers/serverspec.rb, line 137 def ssh_exec!(node, command) r = on node, command, { acceptable_exit_codes: (0..127) } { exit_status: r.exit_code, stdout: r.stdout, stderr: r.stderr, } end
Execute the provided ssh command @param [String] command The command to be executed @return [Hash] Returns a hash containing :exit_status, :stdout and :stderr