Sha256: f96898d79ef99c706a0060d168cba99577c27cabddc3ec08ab5616a6aa13073a

Contents?: true

Size: 185 Bytes

Versions: 74

Compression:

Stored size: 185 Bytes

Contents

module ForemanDiscovery::NodeAPI
  class Inventory < NodeResource
    def url
      @args[:url] + "/inventory"
    end

    def facter
      parse(get({}, "/facter"))
    end
  end
end

Version data entries

74 entries across 74 versions & 1 rubygems

Version Path
foreman_discovery-25.0.0 app/services/foreman_discovery/node_api/inventory.rb
foreman_discovery-24.0.2 app/services/foreman_discovery/node_api/inventory.rb
foreman_discovery-23.0.2 app/services/foreman_discovery/node_api/inventory.rb
foreman_discovery-24.0.1 app/services/foreman_discovery/node_api/inventory.rb
foreman_discovery-24.0.0 app/services/foreman_discovery/node_api/inventory.rb
foreman_discovery-23.0.1 app/services/foreman_discovery/node_api/inventory.rb
foreman_discovery-23.0.0 app/services/foreman_discovery/node_api/inventory.rb
foreman_discovery-22.0.4 app/services/foreman_discovery/node_api/inventory.rb
foreman_discovery-21.0.5 app/services/foreman_discovery/node_api/inventory.rb
foreman_discovery-22.0.2 app/services/foreman_discovery/node_api/inventory.rb
foreman_discovery-21.0.4 app/services/foreman_discovery/node_api/inventory.rb
foreman_discovery-21.0.3 app/services/foreman_discovery/node_api/inventory.rb
foreman_discovery-21.0.2 app/services/foreman_discovery/node_api/inventory.rb
foreman_discovery-19.0.5 app/services/foreman_discovery/node_api/inventory.rb
foreman_discovery-19.0.4 app/services/foreman_discovery/node_api/inventory.rb
foreman_discovery-21.0.1 app/services/foreman_discovery/node_api/inventory.rb
foreman_discovery-19.0.3 app/services/foreman_discovery/node_api/inventory.rb
foreman_discovery-21.0.0 app/services/foreman_discovery/node_api/inventory.rb
foreman_discovery-19.0.2 app/services/foreman_discovery/node_api/inventory.rb
foreman_discovery-20.0.1 app/services/foreman_discovery/node_api/inventory.rb