Skip to content

jemiam/chef-consul

 
 

Repository files navigation

consul-cookbook

Installs and configures Consul.

Supported Platforms

CentOS 5.10, 6.5 Ubuntu 12.04, 14.04

Attributes

Key Type Description Default
['consul']['version'] String Version to install 0.2.0
['consul']['base_url'] String Base URL for binary downloads https://dl.bintray.com/mitchellh/consul/
['consul']['install_method'] String Method to install consul with when using default recipe: binary or source binary
['consul']['install_dir'] String Directory to install binary to. /usr/local/bin
['consul']['service_mode'] String Mode to run consul as: bootstrap, server, or client bootstrap
['consul']['data_dir'] String Location to store consul's data in /var/lib/consul
['consul']['servers'] Array Strings Consul servers to join []

Usage

consul::default

This uses the binary installation recipe by default. It also starts consul at boot time.

consul::binary_install

Include consul::binary_install in your node's run_list:

{
  "run_list": [
    "recipe[consul::binary_install]"
  ]
}

consul::source_install

Include consul::source_install in your node's run_list:

{
  "run_list": [
    "recipe[consul::source_install]"
  ]
}

License and Authors

Author:: John Bellone @johnbellone ([email protected])

About

Installs/configures Consul

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 98.2%
  • Shell 1.8%