Skip to content

johnyzed/puppet-etcd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 

Repository files navigation

This puppet module will install and configure etcd on stand-alone or a cluster environment. It will dowload and install the version of etcd you'll wish from the available ones at the etcd github page (by default, it will install the version 0.3.0).

##Require In order to run, this module needs the following puppet module:

##How to use ###Stand alone

    class { 'etcd':
        machine_name  => "machine1",
        peer_port => "7001",
    	etcd_version => "0.3.0",
        regular_port => "4001",
    }

###Cluster If you decide to work on cluster you need to take the order of the installation in account.Let's say you want to create a cluster of 3 servers as in the example below.The installation order will be server1, then server2, then server3.In order to work you will have to install server1 as stand alone (exactly like ion the example above) and then server2 and server3 like below.


    class { 'etcd':
        machine_name  => "machine1",
        peer_port => "7001",
        regular_port => "4001",
    	etcd_version => "0.3.0",
        peers => [ "server2:7002,server3:7003"],
    }

About

install and configure etcd with puppet

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages