Getting the $org and $env at yum update time

Bryan Kearney bkearney at redhat.com
Wed Aug 31 19:11:16 UTC 2011


On 08/31/2011 03:06 PM, Devan Goodwin wrote:
> Looking back at old design, Pulp was supposed to expand these at
> runtime I thought. Did this turn out to not be possible?

Same design, except %s/pulp/subscription-manager/g

the content set in candlepin will be

/$org/$env/some/path since the content set has to be the same per 
environment.

>
> Is consumers moving from env to env a valid use case? If so I'm not
> sure how to solve, you wouldn't want the yum plugin to have to query
> Katello every time it runs to find out the org and env. And any scheme
> for caching them locally and updating periodically is going to have a
> brief window where the consumer doesn't yet know it's in a new env,
> and may potentially be unable to use the correct content.

At this point, you unregister and then re-register. But, I could see 
this in the future.

-- bk





More information about the candlepin mailing list