Comments (4)
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.
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.
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.
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)
- Cookbook does not function on Amazon Linux 2016.09 and above HOT 2
- Please template confluence.cfg.xml HOT 4
- apache2 cookbook v5.0.0 removes support for Apache 2.2 HOT 1
- Call for maintainer HOT 10
- Apache proxy_wstunnel module needed for synchrony HOT 4
- unlock mysql and mysql2_chef_gem dependencies HOT 3
- Undefined node attribute or method `|' on `node'. To set an attribute, use `|=value' instead. HOT 3
- MySQL drivers are not installed HOT 1
- Add support for apache2.4 & and the apache2 7.0 cookbook HOT 1
- confluence.cfg.xml missing database info HOT 1
- Confluence version 6.1 is not supported by the cookbook HOT 1
- this chef book will support for 6.15.1 HOT 1
- Dangerfile should use failure instead of fail
- Remove .rubocop.yml with Dangerfile HOT 1
- Update Changelog HOT 1
- Run latest cookstyle HOT 1
- Update builds to be parallel HOT 2
- Testing should run against latest chef in dokken
- chef version dependendcy HOT 2
- 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 confluence.