Class: Oxidized::Exec
- Includes:
- Input::CLI
- Defined in:
- lib/oxidized/input/exec.rb
Constant Summary
Constants inherited from Input
Instance Attribute Summary
Attributes included from Input::CLI
Instance Method Summary collapse
Methods included from Input::CLI
#connect_cli, #disconnect_cli, #get, #initialize, #login, #newline, #password, #post_login, #pre_logout, #username
Methods included from Config::Vars
Instance Method Details
#cmd(cmd_str) ⇒ Object
13 14 15 16 17 18 |
# File 'lib/oxidized/input/exec.rb', line 13 def cmd(cmd_str) logger.debug "EXEC: #{cmd_str} @ #{@node.name}" # I'd really like to do popen3 with separate arguments, but that would # require refactoring cmd to take parameters %x(#{cmd_str}) end |