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

Remove section parameter from yum::config #33

Merged
merged 1 commit into from
Feb 2, 2017

Conversation

lamawithonel
Copy link

According to the man page for yum.conf(5), [main] is the only valid
section for global Yum config options. All other section names refer to
individual repositories. This commit removes the section parameter in
the yum::config defined type, hard-coding it to main.

According to the man page for `yum.conf(5)`, `[main]` is the only valid
section for global Yum config options.  All other section names refer to
individual repositories.  This commit removes the `section` parameter in
the `yum::config` defined type, hard-coding it to `main`.
@bastelfreak
Copy link
Member

is it possible but the behavior changed with any yum release and that it is valid in older versions?

@lamawithonel
Copy link
Author

No, this has always been the case. Repository sections used to be called "server" sections, but they were functionally the same thing. The [main] section has always been [main]. Here's a link to the earliest version of the yum.conf(5) man page where ini-style was used: https://github.com/rpm-software-management/yum/blob/44d9411afd2bb696dbe7305feb0632eabc6ec511/docs/yum.conf.5

@rnelson0 rnelson0 merged commit af7b895 into voxpupuli:master Feb 2, 2017
@traylenator traylenator added the bug Something isn't working label Jun 12, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants