Class: Specinfra::HostInventory::Uname
- Inherits:
-
Base
- Object
- Base
- Specinfra::HostInventory::Uname
- Defined in:
- lib/pullmatic/resource/os.rb
Instance Method Summary collapse
Instance Method Details
#get ⇒ Object
76 77 78 79 80 81 82 83 84 |
# File 'lib/pullmatic/resource/os.rb', line 76 def get cmd = backend.command.get(:get_inventory_uname) ret = backend.run_command(cmd) if ret.exit_status == 0 ret.stdout.chomp else nil end end |