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-16.1.2 app/services/foreman_discovery/node_api/inventory.rb
foreman_discovery-16.2.0 app/services/foreman_discovery/node_api/inventory.rb
foreman_discovery-16.1.0 app/services/foreman_discovery/node_api/inventory.rb
foreman_discovery-16.0.1 app/services/foreman_discovery/node_api/inventory.rb
foreman_discovery-16.0.0 app/services/foreman_discovery/node_api/inventory.rb
foreman_discovery-15.1.0 app/services/foreman_discovery/node_api/inventory.rb
foreman_discovery-15.0.2 app/services/foreman_discovery/node_api/inventory.rb
foreman_discovery-15.0.1 app/services/foreman_discovery/node_api/inventory.rb
foreman_discovery-15.0.0 app/services/foreman_discovery/node_api/inventory.rb
foreman_discovery-14.0.1 app/services/foreman_discovery/node_api/inventory.rb
foreman_discovery-14.0.0 app/services/foreman_discovery/node_api/inventory.rb
foreman_discovery-13.0.1 app/services/foreman_discovery/node_api/inventory.rb
foreman_discovery-12.0.2 app/services/foreman_discovery/node_api/inventory.rb
foreman_discovery-12.0.1 app/services/foreman_discovery/node_api/inventory.rb
foreman_discovery-12.0.0 app/services/foreman_discovery/node_api/inventory.rb
foreman_discovery-11.0.0 app/services/foreman_discovery/node_api/inventory.rb
foreman_discovery-9.1.5 app/services/foreman_discovery/node_api/inventory.rb
foreman_discovery-9.1.4 app/services/foreman_discovery/node_api/inventory.rb
foreman_discovery-10.0.0 app/services/foreman_discovery/node_api/inventory.rb
foreman_discovery-9.1.3 app/services/foreman_discovery/node_api/inventory.rb