Comments (3)
My vision is that or we use it everywhere as possible, or not use at all. Something in between is less acceptable.
Thereby, tagging it as refactor
.
from chef-stackstorm.
Also, we should be really careful here when considering migration, see this comment by Seth Vargo:
I'd also like to suggest/plea. Please don't force the use of a data bag in a public cookbook. This is a mistake that we've learned from in the past. Instead of forcing people to use a certain schema, I recommend using a hybrid model, like described in the new Jenkins cookbook.
Requiring a certain data bag structure forces people to manage their infrastructure in a certain manner. This is a violation of one of the guiding principles of Chef: you know your infrastructure best. The
users
cookbook is a big culprit here. It forces users to conform to a certain data structure, which rarely meets the ever-changing and unique demands of an organization.Alternatively, I recommend using attribute-driven cookbooks and then encourage users to populate those attributes how they see fit. In the case of the
users
cookbook, users could chose to populate an attribute by specifying it manually, loading it from a data bag, or using a third-party service (like LDAP).
Might be useful for future consideration. TBH, I don't know how to approach this, need to check other public cookbooks/research more how it's usually done and what's preferred, so this Issue is open for discussions.
from chef-stackstorm.
I don't know how to approach this
Most cookbooks allow both attribute (for dev) and encrypted data bags (for prod)
from chef-stackstorm.
Related Issues (20)
- Use own StackStorm "init" Docker images in Test-Kitchen HOT 4
- Cookbook Cleanup
- EL SELinux check HOT 2
- Add support for full st2.conf
- Release 0.5.0 HOT 3
- Include st2chatops install
- Lint Checks vs Integration Tests in 2 CIs HOT 4
- Missing st2 auth credentials generation in /etc/st2/htpasswd
- Generate ~/.st2/config for CLI auth
- LWRP for st2 pack install HOT 1
- platform_version in Travis HOT 7
- Multiplatform chefspec testing
- Cleanup TravisCI output HOT 1
- CI is broken on CentOS7 HOT 3
- Fix compatibility with Chef 13 HOT 2
- Switch to MongoDB '3.4' since st2 '2.4.0'
- Drop Ubuntu 14 support since st2 v3.1
- CentOS 8 / RHEL 8 Support
- Remove `--always-copy` >=EL7 HOT 2
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 chef-stackstorm.