(PUP-897) Allow rpm package provider to query by virtual package name.#2370
Merged
kylog merged 1 commit intopuppetlabs:masterfrom Feb 19, 2014
Merged
(PUP-897) Allow rpm package provider to query by virtual package name.#2370kylog merged 1 commit intopuppetlabs:masterfrom
kylog merged 1 commit intopuppetlabs:masterfrom
Conversation
Some providers that inherit from the rpm provider, such as the yum provider, do a query after installing a package. If the package is specified by a virtual name, the yum provider installs the package successfully, but the base rpm provider implementation fails to query the installed package. This causes a confusing "could not find package" error even though the package was installed. Passing the '--whatprovides' option to rpm when performing a query instructs rpm to locate packages that provide the given virtual name. This enables child providers to install by virtual package name without errors.
|
CLA signed by all contributors. |
kylog
pushed a commit
that referenced
this pull request
Feb 19, 2014
(PUP-897) Allow rpm package provider to query by virtual package name.
|
Was this intended to supersede #2364? |
Contributor
Author
|
@skottler Yes, it appears so; I didn't see your PR and we had a long-standing ticket on the issue. While testing |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Some providers that inherit from the rpm provider, such as the yum provider, do
a query after installing a package. If the package is specified by a virtual name,
the yum provider installs the package successfully, but the base rpm provider
implementation fails to query the installed package. This causes a confusing
"could not find package" error even though the package was installed.
Passing the '--whatprovides' option to rpm when performing a query instructs rpm
to locate packages that provide the given virtual name. This enables child providers
to install by virtual package name without errors.