Giter Site home page Giter Site logo

Comments (12)

reset avatar reset commented on July 17, 2024

@tmatilai thanks for pointing this one out!

from ridley.

ivey avatar ivey commented on July 17, 2024

berkshelf/buff-config#4

from ridley.

scalp42 avatar scalp42 commented on July 17, 2024

Running into the same issue here.

from ridley.

ivey avatar ivey commented on July 17, 2024

Let's do a special-case for the knife hash in Ridley, and still fix the main issue in buff-config.

from ridley.

ivey avatar ivey commented on July 17, 2024

So...I can't repro this, actually. Ridley::Chef::Config has a knife hash already, and I am able to load a knife.rb using it.

https://github.com/RiotGames/ridley/blob/master/lib/ridley/chef/config.rb#L63

Can I see a full knife.rb (elided certs/URLs is OK) for someone with this issue?

from ridley.

tmatilai avatar tmatilai commented on July 17, 2024

@ivey Here you have a simple repro: https://github.com/tmatilai/ridley-issue-202-repro

The knife hash in Ridley::Chef::Config does not affect anything as the error comes already from Buff::Config::Ruby::Evaluator, that doesn't know anything about the Ridley::Chef::Config / Buff::Config::Ruby attributes.

from ridley.

ivey avatar ivey commented on July 17, 2024

Thanks. Turns out Ridley::Chef::Config.new doesn't expand '~' so my test was bad. I can repro in ridley master without berks, so it'll be easier to find. Will update later.

from ridley.

sethvargo avatar sethvargo commented on July 17, 2024

@ivey we should File.expand_path that shiz 😄

from ridley.

ivey avatar ivey commented on July 17, 2024

I have a working fix in berkshelf/buff-config#5 but I need to write tests for it and I am out of time this AM. Someone want to write a few tests for me?

Otherwise will try to clean up and have ready to merge tonight.

from ridley.

ivey avatar ivey commented on July 17, 2024

@sethvargo #211

from ridley.

sethvargo avatar sethvargo commented on July 17, 2024

@ivey I'm totally swamped; you'll probably get to it before me

from ridley.

ivey avatar ivey commented on July 17, 2024

That one is a great place for someone to jump in and help. Also, tests on this one. :-)

from ridley.

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.