Itamae::Plugin::Recipe::Redis
Itamae plugin to install redis.
Installation
Add this line to your application's Gemfile:
gem 'itamae-plugin-recipe-redis'And then execute:
$ bundle
Or install it yourself as:
$ gem install itamae-plugin-recipe-redis
Usage
Recipe
package recipe
Install redis package.
# your recipe
include_recipe 'redis::package'
config recipe
Configure redis.
# your recipe
include_recipe 'redis::package'
include_recipe 'redis::config'
NOTE: config recipe depend on package recipe.
Node
redis:
port: 6379
| name | description |
|---|---|
| redis.port | port number of redis |
enable recipe
Enable redis service.
# your recipe
include_recipe 'redis::package'
include_recipe 'redis::enable'
NOTE: enable recipe depend on package recipe.
Contributing
- Fork it ( https://github.com/[my-github-username]/itamae-plugin-recipe-redis/fork )
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create a new Pull Request
License
Copyright 2015 Leonis & Co.
MIT License