Code Monkey home page Code Monkey logo

Comments (4)

legal90 avatar legal90 commented on June 11, 2024

Hm... I think It might be reasonable to remove database management from this cookbook at all.
On the one hand it means that cookbook usage for development environments will be complicated a little bit. So, users will have to take care about database management in their wrappers.

But on other hand it will allow users to configure database by any way they want. It make sense for production usage.

@bflad Any thoughts?

P.s. As you remember, in mysql cookbook there was a similar decision - they got rid of mysql_chef_gem management, so now this cookbook became more stable, reliable and just works fine :)

from confluence.

patcon avatar patcon commented on June 11, 2024

I'm not sure that's an analogous situation with the mysql cookbook. That was to resolve a compilation issue with the mysql2 gem.

I don't see any evidence in the community of database management being removed from application cookbooks, and I respectfully disagree that it's a good path.

EDIT: But yes, it would be great if basic database setup were easily bypassed :)

from confluence.

bflad avatar bflad commented on June 11, 2024

I think there could potentially be some slight value in creating a separate
but community supported cookbooks that bridge between the application and
database itself mostly from the sense of removing dependencies (see Docker
apt repo vs Docker yum repo cookbooks. In our case if you use postgres, you
wouldnt need to pull MySQL dependencies when you don't need or care about
them. The caveat is the development and operations overhead of explicitly
documenting and requiring the extra cookbook and environment configuration
for it.

Personally I'm not sure there's a winning argument either way. In an ideal
world we'd be provided a way to set external cookbook dependencies per
actually used recipe and not at the cookbook level as a whole.

For the above management question, simple attribute flag to "manage
database myself" seems reasonable? For the original question it shouldn't
be too crazy to allow outside resources access to the stash database info
via some library method.

On Wed, Sep 30, 2015, 17:04 Patrick Connolly [email protected]
wrote:

I'm not sure that's an analogous situation with the mysql cookbook. That
was to resolve a compilation issue with the mysql2 gem. I don't see any
evidence in the community of database management being removed from
application cookbooks, and I respectfully disagree that it's a good path


Reply to this email directly or view it on GitHub
#56 (comment)
.

from confluence.

lock avatar lock commented on June 11, 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 confluence.

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.