Stop accidentally removing docker-distribution
authorJiri Stransky <jistr@redhat.com>
Tue, 21 Feb 2017 12:54:06 +0000 (13:54 +0100)
committerJiri Stransky <jistr@redhat.com>
Tue, 21 Feb 2017 13:01:31 +0000 (14:01 +0100)
commitd12c004bc9c630c756a6b0df351916b9e04b9778
tree99d9c79dfc7df354b14df534f7f537c679308581
parent47969551159a81cd1a050c3b345892aec0bf7d96
Stop accidentally removing docker-distribution

By default Puppet does virtual package matching if precise name matching
fails. Docker-distribution RPM "provides" docker-registry:

bash-4.2# rpm -q --whatprovides docker-registry
docker-distribution-2.5.1-1.el7.x86_64

This means that when we wanted to make docker-registry package absent,
we were actually removing docker-distribution instead. This is now fixed
by allow_virtual => false. Only name matching is performed.

Change-Id: I1f93b404085f0bc2b6c063f573c801db6409c0bb
Closes-Bug: #1666459
manifests/profile/base/docker_registry.pp