Class: SSHKit::Backend::Abstract
- Inherits:
-
Object
- Object
- SSHKit::Backend::Abstract
- Defined in:
- lib/opswalrus/sshkit_ext.rb
Instance Method Summary collapse
-
#execute_cmd(*args) ⇒ Object
Returns a SSHKit::Command.
Instance Method Details
#execute_cmd(*args) ⇒ Object
Returns a SSHKit::Command
24 25 26 27 |
# File 'lib/opswalrus/sshkit_ext.rb', line 24 def execute_cmd(*args) = { verbosity: :info, strip: true, raise_on_non_zero_exit: false }.merge(args.) create_command_and_execute(args, ) end |