Skip to content

RobertFach/etcd-formula

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

https://travis-ci.org/RobertFach/etcd-formula.svg?branch=master

etcd

Formula to install and configure etcd.

Available states

Install etcd and startup the service in cluster mode by using a static node configuration. The following pillar data is an example for a static node configuration. Have also a look at pillar.example.

Example Pillar:

etcd:
  cluster:
    peers:
      node-1:
        ip: 192.168.1.10
      node-2:
        ip: 192.168.1.11
      node-3:
        ip: 192.168.1.12

Install etcd and startup the service in proxy mode by using a static node configuration. Have a look at pillar.example to see howto define static nodes.

Installs an etcd.conf under /etc/salt/master.d which creates a Salt etcd profile etcd_config that can be used by Salt etcd module. It also calls proxy state to make sure a proxy listening on 127.0.0.1 exists on this node.

I do not recommend to use this state because it's less flexible and fault-tolerant then the salt-client-proxy state.

Installs an etcd.conf under /etc/salt/master.d which creates a Salt etcd profile etcd_config that can be used by Salt etcd module. The etcd.host entry points to the first node in the peer list (Salts etcd module doesn't allow to specify multiple hosts).

Testing

Right now, some basic testing is done on Travis CI.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published