Skip to content
New issue

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

Fix "package" provider for "consul_installation" resource #398

Merged
merged 4 commits into from
Jan 18, 2017

Conversation

legal90
Copy link
Contributor

@legal90 legal90 commented Jan 14, 2017

Fixes #389

  • Removed an attribute "checksum" since it's not available for the built-in "package" resource and causes exceptions.
  • Switched action from ":remove" to ":uninstall". The latter is not available for the built-in "package" resource and causes exceptions.
  • Added an alias to access poise reverse options.
  • Added an option "package_provider" allowing to explicitely set a provider for "package" resource, for example:
node.default['consul']['options']['package_provider'] = Chef::Provider::Package::Dpkg

Refer to this comment for more details about what is broken there: therehttps://github.com//issues/389#issuecomment-272435788

@quulah, please verify - does it work for your case?

@codecov-io
Copy link

codecov-io commented Jan 17, 2017

Current coverage is 58.00% (diff: 100%)

No coverage report found for master at b2fbd5f.

Powered by Codecov. Last update b2fbd5f...4559689

This attribute is not available for "package" resource.
Action ":uninstall"  is not available for "package" resource.
It allows to override a provider for "package" resource, for example:
node.default['consul']['options']['package_provider'] = Chef::Provider::Package::Dpkg
@legal90 legal90 merged commit 74b7ff7 into sous-chefs:master Jan 18, 2017
@legal90 legal90 deleted the fix-package branch January 18, 2017 12:50
@lock
Copy link

lock bot commented Apr 25, 2020

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Apr 25, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Problems with package install
3 participants