Comments (8)
Hi. What exactly would be required to support DNF from this cookbook?
from yum.
From just taking a cursory look, I think it would just be mapping the "yum" commands to "dnf" commands like: https://fedoraproject.org/wiki/Yum_to_DNF_Cheatsheet They tried to keep a one to one mapping but some are different. If you want, I can attempt to map out what is your cookbook would have to change. Assuming we are on the same page, I could then attempt a PR if you are willing.
from yum.
Ah okay. So this would be in chef/chef against the package resource, not chef-cookbooks/yum.
I'm pretty sure this is already being worked on but you should open an issue there.
Closing this here.
-s
—
Sent from Mailbox
On Tue, Oct 13, 2015 at 11:03 AM, St. Isidore de Seville
[email protected] wrote:
From just taking a cursory look, I think it would just be mapping the "yum" commands to "dnf" commands like: https://fedoraproject.org/wiki/Yum_to_DNF_Cheatsheet They tried to keep a one to one mapping but some are different. If you want, I can attempt to map out what is your cookbook would have to change. Assuming we are on the same page, I could then attempt a PR if you are willing.
Reply to this email directly or view it on GitHub:
#132 (comment)
from yum.
What I am referring to here is not the creation or management of a dnf_package resource like a yum_package resource, I am referring to how the repositories are managed. From what I can tell, the DNF repository configuration is the same as the YUM repository configuration. The only difference is the main configuration is located at /etc/dnf/dnf.conf. See http://dnf.readthedocs.org/en/latest/conf_ref.html for an explanation.
I guess the point I am getting to get to is the fact that since DNF is the upgrade to YUM and they are managed in "almost" exactly the same way, should this cookbook support the DNF that is used in the newer Fedora environments? Otherwise those guys are without repository management in Chef until this gets resolved.
from yum.
reopening
from yum.
The latest release makes yum_repository happy on fedora-22, so I'm going to close this for now.
from yum.
awesome @someara. just out of curiosity is there something we should probably be doing for a long term fix or should I just raise that issue as it arises?
from yum.
I believe there's a DNF package provider being worked on, which is
definitely needed.
As for repository configuration, if DNF proves to be different enough than
yum to warrant a separate dnf_repository resource that "provides
:yum_repository" on the appropriate platforms, we can cross that bridge
when we get to it.
-s
On Wed, Oct 28, 2015 at 3:49 PM, St. Isidore de Seville <
[email protected]> wrote:
awesome @someara https://github.com/someara. just out of curiosity is
there something we should probably be doing for a long term fix or should I
just raise that issue as it arises?—
Reply to this email directly or view it on GitHub
#132 (comment).
from yum.
Related Issues (20)
- yum_repository doesn't support sensitive parameter
- Resolve Chef 13 deprecation warning HOT 2
- Yum cache should be purged before repository config file is deleted HOT 2
- Shouldn't README not include an example for EPEL? HOT 1
- baseurl should support multiple url per documentation HOT 3
- Installation of packages on centos HOT 1
- node['yum']['main']['exclude'] would be better as an array, no? HOT 3
- Tests failing due to repo choice HOT 1
- how to download yum rpm to intel's machine and install in another ARM64 machine HOT 1
- yum makecache in a recipe HOT 4
- [QUESTION] yum cookbook backward compatibility promises HOT 1
- enabling a yum repo should implicitly set the `manage` attribute to true HOT 1
- Locking Amazon Linux to a specific version via releasever
- 5.1.0 is not available from the supermarket HOT 1
- yum_globalconfig doesn't read attributes HOT 4
- where can i download chef client for rhel 8 HOT 1
- support globalconfig options available to newer versions of yum HOT 4
- Add support for install_weak_deps property used by DNF HOT 4
- Allow DNF best, skip_if_unavailable, and excludepkgs to be managed directly
- Dependency Dashboard
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from yum.