Forge Home

etcd

Puppet module for package-based etcd installs

140 downloads

140 latest version

3.1 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Version information

  • 1.0.0 (latest)
released Aug 24th 2023
This version is compatible with:
  • Puppet Enterprise 2023.6.x, 2023.5.x, 2023.4.x, 2023.3.x, 2023.2.x, 2023.1.x, 2021.7.x
  • Puppet >= 7.24 < 9.0.0

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'dmaes-etcd', '1.0.0'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add dmaes-etcd
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install dmaes-etcd --version 1.0.0

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download

Documentation

dmaes/etcd — version 1.0.0 Aug 24th 2023

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