Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/voxxit/chef-etcd
Chef cookbook to install and run etcd on Gentoo servers
https://github.com/voxxit/chef-etcd
Last synced: 4 days ago
JSON representation
Chef cookbook to install and run etcd on Gentoo servers
- Host: GitHub
- URL: https://github.com/voxxit/chef-etcd
- Owner: voxxit
- Created: 2015-05-24T06:32:25.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-05-24T06:32:50.000Z (over 9 years ago)
- Last Synced: 2024-12-17T13:23:19.540Z (6 days ago)
- Language: Ruby
- Size: 97.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# etcd Chef cookbook for Gentoo
### Recipes
| Name | Description |
|:-----|:------------|
| `default` | Install etcd, and enable/start the service## Attributes
| Attribute | Default | Description |
|:---------------------------------|:---------------|:-----------------------------------------|
|`default['etcd']['name']`| `nil` | Defaults to `nil`; will attempt to get EC2 instance ID from http://169.254.169.254 service |
|`default['etcd']['discovery']` | `nil` | Discovery URL — get one from http://discovery.etcd.io/new?size=7 |
|`default['etcd']['version']` | `v2.0.11` | Version of etcd which will be downloaded and installed |
|`default['etcd']['sha256']` | `b351d05f` | SHA256 checksum for the downloaded etcd release archive |
|`default['etcd']['data_dir']` | `/db/etcd` | Directory for etcd WAL and snapshot files |
|`default['etcd']['user']`| `etcd` | User the etcd daemon will run as |
|`default['etcd']['group']` | `etcd` | Group the daemon will run as |## Usage
#### Single-instance node:
Simply add the following to your main cookbook:
````
include_recipe 'etcd::default'
````## Setting up a cluster
Go to https://discovery.etcd.io/new?size=7 to get a new token URL to use for automatic node discovery, then set `node['etcd']['discovery']` with this value.