Skip to content

Latest commit

 

History

History
26 lines (23 loc) · 805 Bytes

README.md

File metadata and controls

26 lines (23 loc) · 805 Bytes

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.