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.
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
You might prefer this lsyncd module for Ubuntu, or this one for RHEL.