Sha256: b0d388520bb631e5936a139cfb6ff7a63d6f8793cfadd02d89278a60f84ab642
Contents?: true
Size: 408 Bytes
Versions: 17
Compression:
Stored size: 408 Bytes
Contents
module Specinfra class HostInventory class Service < Base def get cmd = backend.command.get(:get_inventory_service) ret = backend.run_command(cmd) if ret.success? parse(ret.stdout) else nil end end def parse(cmd_ret) parser = create_parser_class('service') parser.parse(cmd_ret) end end end end
Version data entries
17 entries across 17 versions & 1 rubygems