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
Wrapper cookbook which I've tried both the Docker_installation_package and Docker Service. Neither of these options are passing platform_version properly. Looking closer at the installation_package option the URL path pulls the platform value which would be redhat. The URL . https://download.docker.com/linux/ does not contain redhat. Cookbook metadata states it supports redhat. If this is no longer the case please update the metadata.
Expected Result:
docker_Service shows that it allows a package_version to be passed, however this property does not appear to work for redhat. docker_Installation_package is not working due to the issue with the URL path no longer containing redhat.
Actual Result:
* yum_package[docker-ce] action install[2018-12-11T02:54:46+00:00] INFO: Processing yum_package[docker-ce] action install (/var/cache/chef/cookbooks/docker/libraries/docker_installation_package.rb line 42)
================================================================================
Error executing action `install` on resource 'yum_package[docker-ce]'
================================================================================
Chef::Exceptions::Package
-------------------------
Version ["18.06.1"] of ["docker-ce"] not found. Did you specify both version and release? (version-release, e.g. 1.84-10.fc6)
Resource Declaration:
---------------------
# In /var/cache/chef/cookbooks/docker/libraries/docker_installation_package.rb
42: package new_resource.package_name do
43: version new_resource.package_version unless amazon?
44: options new_resource.package_options
45: action :install
46: end
47: end
Compiled Resource:
------------------
# Declared in /var/cache/chef/cookbooks/docker/libraries/docker_installation_package.rb:42:in `block in <class:DockerInstallationPackage>'
yum_package("docker-ce") do
package_name "docker-ce"
action [:install]
default_guard_interpreter :default
declared_type :package
cookbook_name "wdpr_docker"
version "18.06.1"
options ["--force-yes", "-o", "Dpkg::Options::=--force-confold", "-o", "Dpkg::Options::=--force-all"]
end
System Info:
------------
chef_version=13.6.4
platform=redhat
platform_version=7.6
ruby=ruby 2.4.2p198 (2017-09-14 revision 59899) [x86_64-linux]
program_name=chef-client worker: ppid=31273;start=02:54:34;
executable=/opt/chef/bin/chef-client
The text was updated successfully, but these errors were encountered:
Hey There
It looks like this is the first issue you've filed against the chef-cookbooks project. I'm here to offer you a bit of extra help to make sure we can quickly get back to you.
Make sure you've filled out all the fields in our issue template. Make sure you've provided us with the version of chef-client you're running, your operating system and the version of the cookbook. If you're not using the most up to date version of the cookbook then please make sure to update first. Lots of things change between versions even if you're issue isn't listed in the changelog. Finally please give us a detailed description of the issue you're having. The more we know about what you're trying to do, what actually happens, and how you can reproduce the problem, the better.
If you're looking for more immediate troubleshooting help make sure to check out #general on the Chef Community Slack. There's plenty of folks there willing to lend a helping hand. Thanks for the first issue. We hope we can get back to you soon with a solution.
Cookbook version
4.8.0
Chef-client version
chef_version=13.6.4
Platform Details
RHEL7 running on AWS
Scenario:
Trying to install Docker
Steps to Reproduce:
Wrapper cookbook which I've tried both the Docker_installation_package and Docker Service. Neither of these options are passing platform_version properly. Looking closer at the installation_package option the URL path pulls the platform value which would be redhat. The URL . https://download.docker.com/linux/ does not contain redhat. Cookbook metadata states it supports redhat. If this is no longer the case please update the metadata.
Expected Result:
docker_Service
shows that it allows apackage_version
to be passed, however this property does not appear to work for redhat.docker_Installation_package
is not working due to the issue with the URL path no longer containing redhat.Actual Result:
The text was updated successfully, but these errors were encountered: