Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

RSS

etcd (38) Versions 1.2.2

Installs and configures etcd

Berkshelf/Librarian
Policyfile
Knife
cookbook 'etcd', '= 1.2.2'
cookbook 'etcd', '= 1.2.2', :supermarket
knife cookbook site install etcd
knife cookbook site download etcd
README
Dependencies
Quality

etcd cookbook - installs coreos/etcd on centos/ubuntu boxen

Supported Platforms

Centos/rhat 6+ & ubuntu with upstart

Recipes

  • default: Install and setup the service
  • _service: Recipe used by default for setting up the service
  • binary_install: Installs the binary of etcd from github release tarballs
  • cluster: Recipe to aide in the building of multi-node etcd clusters

Attributes

attribute default setting description
default[:etcd][:install_method] binary Right now only binary is supported. In the future this will probably go away as there are actual distro packages
default[:etcd][:args] -c 0.0.0.0:4001 -s 0.0.0.0:70001 Arguments to pass to etcd when starting the service.
default[:etcd][:name_switch] -n The switch used to specify the node or hostname to etcd. if you build from source this switch has changed since the 0.1.0 release. I will remove this when the arguments to etcd stabilize
default[:etcd][:version] 0.1.0 The release versions to install. binary install will assemble a github url to grab this version
default[:etcd][:sha256] 00891.. The Sha256 hash of the tarball specified by the version or URL attribute
default[:etcd][:url] nil override the internal generated url to specify your own binary tarball. see the .kitchen.yml for example override
default[:etcd][:state_dir] /var/cache/etcd/state Where etcd will store its state
default[:etcd][:search_cook] etcd The cookbook that should be searched for on the nodes recipes to detect if it is also running etcd
default[:etcd][:seed_node] nil The seed node for initial cluster setup. This node will start as the master, but restarts will rejoin the raft cluster. This needs to be set when using cluster recipe otherwise the cluster will not initialize.

Usage

Default single instance single node:

run_list[etcd]

Setup a cluster

In a role or wrapper cookbook setup the seed_node attribute and add the cluster recipe to each node in the cluster.

If you use a wrapper cookbook set node[:etcd][:search_cook] to the wrapper cookboks name run_list[etcd::cluster]

example wrapper can be seen here [http://github.com/cloudware-cookbooks/ktc-etcd]

License and Author

Original Author Jesse Nelson spheromak@gmail.com
Contributor James Gregory james@jagregory.com
Copyright Copyright (c) 2013 Jesse Nelson

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

No quality metric results found