Giter VIP home page Giter VIP logo

Comments (8)

matschaffer avatar matschaffer commented on May 30, 2024

If it helps frame the issue at all, I've got a sharded redis setup, so the simple "pick the first master" approach won't work for my setup. If there's a way to address this, awesome. If not then at least let's keep this in it's own recipe so folks with my sort of set up can skip it.

from redisio.

brianbianco avatar brianbianco commented on May 30, 2024

The idea would be that this would be disabled by default through an attribute, and only used when that attribute was set to true. This also makes it work "out of the box" for chef-solo users. I try to be conscientious when making decisions like this and never break the cookbook or force a decision like this on the user :)

from redisio.

matschaffer avatar matschaffer commented on May 30, 2024

And we all thank you for that! ❤️

from redisio.

vonnagy avatar vonnagy commented on May 30, 2024

Any update on this one as we really need this kind of support.

from redisio.

brianbianco avatar brianbianco commented on May 30, 2024

No update on this particular item yet. However what I might recommend is writing a wrapper cookbook? So you would create a cookbook called

mycompany_redis

It would contain the logic for determining master / slave information, then it would simply set some node attributes before calling the main redisio cookbook.

from redisio.

brianbianco avatar brianbianco commented on May 30, 2024

Also I might add that the 2.0.0_WIP branch seems to be fairly stabilized and is probably worth trying out.

from redisio.

xorima avatar xorima commented on May 30, 2024

Closing due to inactivity.

If this is still an issue please reopen or open another issue. Alternatively drop by the #sous-chefs channel on the Chef Community Slack and we'll be happy to help!

Thanks,
Sous-Chefs

from redisio.

lock avatar lock commented on May 30, 2024

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

from redisio.

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.