negz-lsyncd

Yet another lsyncd Puppet module


Keywords
rsync, lsyncd, puppet
License
Apache-2.0
Install
puppet module install negz-lsyncd --version 1.2.2

Documentation

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.