https://github.com/negz/puppet-lsyncd
Yet another lsyncd Puppet module
https://github.com/negz/puppet-lsyncd
lsyncd puppet rsync
Last synced: about 1 month ago
JSON representation
Yet another lsyncd Puppet module
- Host: GitHub
- URL: https://github.com/negz/puppet-lsyncd
- Owner: negz
- License: apache-2.0
- Created: 2016-02-23T21:25:55.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2019-02-05T21:31:33.000Z (over 6 years ago)
- Last Synced: 2025-03-25T13:45:30.223Z (about 2 months ago)
- Topics: lsyncd, puppet, rsync
- Language: Puppet
- Size: 14.6 KB
- Stars: 1
- Watchers: 1
- Forks: 6
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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:
```puppet
lsyncd::rsync { 'myawesomereplication':
source => '/tmp/source',
target => '/tmp/target',
options => {
'archive': true,
}
```Or via Hiera:
```yaml
lsyncd::rsync:
myawesomereplication:
source: /tmp/source
target: /tmp/target
options:
archive: true
```# Alternatives
You might prefer [this lsyncd module](https://github.com/spjmurray/puppet-lsyncd) for Ubuntu, or [this one](https://github.com/thias/puppet-lsyncd) for RHEL.