[katello-devel] installedProducts from subscription-manager to katello

Bryan Kearney bkearney at redhat.com
Tue Oct 25 16:22:31 UTC 2011


On 10/25/2011 12:15 PM, Tom McKay wrote:
>
> Running this from a client vm
>
>      % subscription-manager subscribe --pool=ff808081
>
> results in the following calls to Katello and Candlepin
>
>      Started POST "/katello/api/environments/2/consumers" for 10.11.230.215 at Mon Oct 24 15:58:04 -0400 2011
>        Processing by Api::SystemsController#create as JSON
>        Parameters: {"facts"=>{...}, "name"=>"system-1", "type"=>"system", "environment_id"=>"2",
>                     "installedProducts"=[{"productId"=>"69", "productName"=>"Red Hat Enterprise Linux Server"}]}
>
>      Creating a consumer in candlepin: system-1
>      Resource POST request: /candlepin/consumers/?owner=ACME_Corporation, {"name":"system-1","facts":{...},"type":"system"}
>
> Should the 'installedProducts' be passed to Candlepin? Pointers appreciated!
>

Yes they should.

-- bk




More information about the katello-devel mailing list