Comments (7)
It's clear that the installation should NOT be done in the provider but instead in the recipe itself. This would simply the resource for configuring redis. This could be a breaking change so i will bump the cookbooks minor version for this even though it will not add any significant feature, other than making the cookbook more sensible and easy to maintain / undersand.
from redisio.
As far as I can tell there is no way to currently install with the package LWRP and it only installs from source. It seems like this change would support package based install. Having a package based install would mean we could contribute to this cookbook rather than maintaining our own.
from redisio.
That's pretty much the intent of this ticket. The idea is for the next big revision of the cookbook to decouple the installing of the binaries and the configuration. This will make it much easier and cleaner to alter HOW the package is installed. It should probably also use ARK to download and install the tarball.
from redisio.
Now that we have install separated, does contributing an redisio::install_package recipe make sense? I'd love to see this added and prefer some guidance on how to approach. Maybe we can make it part of 2.0
from redisio.
I think it makes sense to allow for installation of redis from more than just source. This could introduce some fun complications due to where those packages might expect configuration files. I can't imagine it will be THAT bad though.
I do intend to also rework the way in which the cookbook generates configuration files as well though. It need to generate them pragmatically, not the silly hardcoded way it does now that requires actually updating the recipe every time a new configuration option comes out.
On Jun 27, 2013, at 17:01, Sander van Zoest [email protected] wrote:
Now that we have install separated, does contributing an redisio::install_package recipe make sense? I'd love to see this added and prefer some guidance on how to approach. Maybe we can make it part of 2.0
—
Reply to this email directly or view it on GitHub.
from redisio.
Closing this issue as it is working and implemented in the 2.0.0_wip branch. I will create a separate issue for allowing installation of redis from package instead of source.
from redisio.
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)
- Add protected-mode in sentinel.conf HOT 2
- issue with changing config because attributes saved as node.normal HOT 2
- undefined method `selinux_policy_install' HOT 2
- Dangerfile should use failure instead of fail HOT 1
- Remove .rubocop.yml with Dangerfile HOT 1
- Update Changelog HOT 2
- Run latest cookstyle HOT 2
- Update builds to be parallel HOT 2
- redis.conf.erb version checks incorrectly on some sections
- Chef 16+ user_ulimit warning message HOT 1
- Fix all checks so they pass
- rename_commands not populating rename-command
- SELinux: Redis server running unconfined when installed from sources HOT 1
- After OS restart, redis listens only on loopback HOT 1
- Redis service should be restarted when installing a new version
- Missing required sentinel parameter master_ip
- WARNING: Sentinel was not able to save the new configuration on disk!!!: Permission denied HOT 2
- Dependency Dashboard
- Migrate integration tests from ServerSpec to InSpec
- redis config file should be updated as needed (desired state) HOT 1
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 redisio.