Class: Specinfra::HostInventory::IptablesNat
- Inherits:
-
IptablesBase
- Object
- Base
- IptablesBase
- Specinfra::HostInventory::IptablesNat
- Defined in:
- lib/pullmatic/resource/network.rb
Instance Method Summary collapse
Methods inherited from IptablesBase
Instance Method Details
#get ⇒ Object
119 120 121 122 123 124 125 126 127 |
# File 'lib/pullmatic/resource/network.rb', line 119 def get cmd = backend.command.get(:get_inventory_iptables_nat) ret = backend.run_command(cmd) if ret.exit_status == 0 parse(ret.stdout) else nil end end |