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

Fixes #11999: Wrong detection of package provider on debian for package_* method #682

Conversation

ncharles
Copy link
Member

@@ -75,7 +75,7 @@ bundle agent ncf_package(name, version, architecture, provider, state, options)

# Select the right package manager
# The default one has already been selected if needed using mackage_module_knowledge
"use_apt_provider" expression => strcmp("apt", "${provider}");
"use_apt_provider" expression => strcmp("apt_get", "${provider}");
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When specifying the provider in the generic method the parameter is apt, so we should detect both as valid apt provider.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you are totally right ! thank you

@ncharles
Copy link
Member Author

Commit modified

@ncharles ncharles force-pushed the bug_11999/wrong_detection_of_package_provider_on_debian_for_package_method branch from eb92c84 to a4291f9 Compare January 18, 2018 07:28
@Normation-Quality-Assistant
Copy link
Contributor

OK, merging this PR

@Normation-Quality-Assistant Normation-Quality-Assistant merged commit a4291f9 into Normation:branches/rudder/4.3 Jan 18, 2018
@Normation-Quality-Assistant
Copy link
Contributor

OK, merging this PR

This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants