Code Monkey home page Code Monkey logo

Comments (8)

someara avatar someara commented on August 26, 2024

Hi. What exactly would be required to support DNF from this cookbook?

from yum.

 avatar commented on August 26, 2024

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.

someara avatar someara commented on August 26, 2024

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.

 avatar commented on August 26, 2024

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.

someara avatar someara commented on August 26, 2024

reopening

from yum.

someara avatar someara commented on August 26, 2024

The latest release makes yum_repository happy on fedora-22, so I'm going to close this for now.

from yum.

 avatar commented on August 26, 2024

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.

someara avatar someara commented on August 26, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.