You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the older version of docker (anything other than latest) is attempted to be installed, Puppet fails to install the packages.
Expected Behavior
Docker should be properly installed
Steps to Reproduce
Try to install the docker 19.03.9-3.el7 version using puppetlabs-docker module
Run the puppet
Environment
Module version: 6.0.2
Platform: CentOS Linux 7
Puppet agent/server versions: 6.x
Additional Context
Looks like the latest version of docker-ce-cli is installed as a dependency when installing docker-ce. So if we're using the module to install the Docker 19.03.9-3.el7, it firstly installs the docker-ce version 19.03.9-3.el7, then the latest current version of docker-ce-cli is installed as a dependency (currently 23.0.0-1.el7), then the module tries to install the matching version of docker-ce-cli - 19.03.9-3.el7 and it fails with the following error:
Error: Could not update: Failed to update to version 19.03.9-3.el7, got version 3:23.0.0-1.el7 instead
Error: /Stage[main]/Docker::Install/Package[docker]/ensure: change from 'purged' to '19.03.9-3.el7' failed: Could not update: Failed to update to version 19.03.9-3.el7, got version 3:23.0.0-1.el7 instead (corrective)
The text was updated successfully, but these errors were encountered:
Describe the Bug
When the older version of docker (anything other than
latest
) is attempted to be installed, Puppet fails to install the packages.Expected Behavior
Docker should be properly installed
Steps to Reproduce
19.03.9-3.el7
version usingpuppetlabs-docker
moduleEnvironment
6.0.2
CentOS Linux 7
6.x
Additional Context
Looks like the latest version of
docker-ce-cli
is installed as a dependency when installingdocker-ce
. So if we're using the module to install the Docker19.03.9-3.el7
, it firstly installs thedocker-ce
version19.03.9-3.el7
, then the latest current version ofdocker-ce-cli
is installed as a dependency (currently23.0.0-1.el7
), then the module tries to install the matching version ofdocker-ce-cli
-19.03.9-3.el7
and it fails with the following error:The text was updated successfully, but these errors were encountered: