dmaes / puppet-etcd

Puppet module for package-based etcd installs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ETCD puppet module

This puppet module manages etcd. It currently uses the operating system's package manager to install the required software. Repo management is not supported. Only tested on etcd v3 api.

Usage

A simple include should cover most use-cases.

include etcd

Alternatively, the etcd class accepts following parameters:

class {'etcd':
  package_names     => ['etcd'],
  config            =>  {
    'name'     => $facts['networking']['fqdn'],
    'data-dir' => '/var/lib/etcd',
  }, # Set empty to not manage config
  config_dir        => '/etc/etcd',
  config_file       => 'config.yaml',
  manage_config_dir => true,
  purge_config_dir  => true,
  manage_service    => true,
  service_name      => 'etcd',
}

See REFERENCE.md for more information. These params can of course also be overwritten using Hiera.

License

Apache 2.0

About

Puppet module for package-based etcd installs

License:Apache License 2.0


Languages

Language:Ruby 69.9%Language:Puppet 30.1%