When a consumer is unbound from an RPM repository, that repository should be deleted from /etc/yum.repos.d/...
When a consumer is bound to an RPM repository, a new entry is added into
/etc/yum.repos.d/pulp.repo. Intuitively, I expect that when that same consumer is unbound from that same RPM repository, that entry will be removed from
/etc/yum.repos.d/pulp.repo. Unfortunately, that doesn't happen. Instead, the repository entry is left in place.
This behaviour is unintuitive. It is my expectation that the following two actions produce a functionally identical system:
- Do nothing.
- Bind a consumer to a repository, and unbind that same consumer from that same repository.
The current behaviour makes it harder to implement tests such as Pulp Smash #611.