Forge Home

lsyncd

Yet another lsyncd module

22,073 downloads

20,212 latest version

5.0 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.2.2 (latest)
  • 1.2.1
  • 1.2.0
  • 1.1.0
  • 1.0.1
  • 1.0.0
released Mar 15th 2016
This version is compatible with:

Start using this module

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

Add this module to your Puppetfile:

mod 'negz-lsyncd', '1.2.2'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add negz-lsyncd
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install negz-lsyncd --version 1.2.2

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
Tags: rsync, lsyncd

Documentation

negz/lsyncd — version 1.2.2 Mar 15th 2016

puppet-lsyncd

Yet another lsyncd Puppet module. This module allows you to configure lsyncd replication via either Puppet resources or Hiera. Currently only the default.rsync process is supported. Feel free to send an issue or a PR if you need to support other processes.

Usage

To configure a replication via a Puppet resource:

lsyncd::rsync { 'myawesomereplication':
  source  => '/tmp/source',
  target  => '/tmp/target',
  options => {
    'archive': true,
  }

Or via Hiera:

lsyncd::rsync:
  myawesomereplication:
    source: /tmp/source
    target: /tmp/target
    options:
      archive: true

Alternatives

You might prefer this lsyncd module for Ubuntu, or this one for RHEL.