We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Looks like :install is broken in rpm_package when using source local package option.
:install
rpm_package
source
Here is my resource:
rpm_package pkg do timeout PKG_TIMEOUT source override end
Where override = /tmp/chef/pkg/chef-server-core
override
/tmp/chef/pkg/chef-server-core
ls -al /tmp/chef/pkg/chef-server-core lrwxr-xr-x. 1 vagrant vagrant 65 Jun 1 17:30 /tmp/chef/pkg/chef-server-core -> chef-server-11.1.6+20150601095711.git.10.6bb7977-1.el6.x86_64.rpm
And I get the output:
* rpm_package[chef-server-core] action install[2015-06-01T18:13:18+00:00] INFO: Processing rpm_package[chef-server-core] action install (/var/chef/cache/cookbooks/analytics_dev/providers/dev_package.rb line 64) [2015-06-01T18:13:18+00:00] DEBUG: providers for generic rpm_package resource enabled on node include: [Chef::Provider::Package::Rpm] [2015-06-01T18:13:18+00:00] DEBUG: providers that refused resource rpm_package[chef-server-core] were: [] [2015-06-01T18:13:18+00:00] DEBUG: providers that support resource rpm_package[chef-server-core] include: [Chef::Provider::Package::Rpm] [2015-06-01T18:13:18+00:00] DEBUG: providers that survived replacement include: [Chef::Provider::Package::Rpm] [2015-06-01T18:13:18+00:00] DEBUG: rpm_package[chef-server-core] checking rpm status warning: /tmp/chef/pkg/chef-server-core: Header V4 DSA/SHA1 Signature, key ID 83ef826a: NOKEY chef-server 11.1.6+20150601095711.git.10.6bb7977-1.el6 [2015-06-01T18:13:18+00:00] DEBUG: rpm_package[chef-server-core] checking install state package chef-server-core is not installed [2015-06-01T18:13:18+00:00] DEBUG: rpm_package[chef-server-core] chef-server-core not installed, installing [2015-06-01T18:13:18+00:00] DEBUG: rpm_package[chef-server-core] is already installed - nothing to do
The text was updated successfully, but these errors were encountered:
I remember looking at this, is this still a bug or was this some kind of cookbook bug, or did we fix this already?
Sorry, something went wrong.
Yeah this is a dup of #3487
No branches or pull requests
Looks like
:install
is broken inrpm_package
when usingsource
local package option.Here is my resource:
Where
override
=/tmp/chef/pkg/chef-server-core
And I get the output:
The text was updated successfully, but these errors were encountered: