Add support for dnf #145

Open
opened 2021-11-20 15:20:11 +00:00 by ungleich-gitea · 9 comments

Created by: schvabodka-man

Hello. Currently yum is getting obsolete in RHEL/Fedora/CentOS and it's being replaced by the dnf. The cdist still doesn't have "native" support for dnf, only __package_yum and this makes cdist hard to use on new fedora/centos versions. Would be really awesome if there would be __package_dnf

*Created by: schvabodka-man* Hello. Currently yum is getting obsolete in RHEL/Fedora/CentOS and it's being replaced by the dnf. The cdist still doesn't have "native" support for dnf, only __package_yum and this makes cdist hard to use on new fedora/centos versions. Would be really awesome if there would be __package_dnf
fnux was assigned by ungleich-gitea 2021-11-20 15:20:11 +00:00
Author
Owner

mentioned in issue #799

mentioned in issue #799
Author
Owner

@fnux Here you are.

@fnux Here you are.
Author
Owner

assigned to @fnux

assigned to @fnux
Author
Owner

reopened

reopened
Author
Owner

I just bumped into this trying to make matrix types. Can you reopen the issue / assign it to me?

I just bumped into this trying to make matrix types. Can you reopen the issue / assign it to me?
Author
Owner

closed

closed
Author
Owner

Created by: sideeffect42

@schvabodka-man Isn't yum symlinked to dnf on RedHat systems with dnf?

Regarding the PR:
Are the dnf commands different from their yum equivalents?
If not you could just copy the __package_yum type to __package_dnf and replace occurences of "yum" with "dnf".

Plus a bit of code in __package to select the right type.

*Created by: sideeffect42* @schvabodka-man Isn't `yum` symlinked to `dnf` on RedHat systems with dnf? Regarding the PR: Are the dnf commands different from their yum equivalents? If not you could just copy the `__package_yum` type to `__package_dnf` and replace occurences of "yum" with "dnf". Plus a bit of code in `__package` to select the right type.
Author
Owner

Created by: schvabodka-man

That would be hard to provide because i obliviously don't have code for pull request

*Created by: schvabodka-man* That would be hard to provide because i obliviously don't have code for pull request
Author
Owner

Created by: darko-poljak

Can you perhaps provide PR with new __package_dnf type?

*Created by: darko-poljak* Can you perhaps provide PR with new __package_dnf type?
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: ungleich-public/cdist#145
No description provided.