Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/negz/puppet-lsyncd
Yet another lsyncd Puppet module
https://github.com/negz/puppet-lsyncd
lsyncd puppet rsync
Last synced: 4 months 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 (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2019-02-05T21:31:33.000Z (about 6 years ago)
- Last Synced: 2024-09-16T17:15:24.875Z (5 months ago)
- Topics: lsyncd, puppet, rsync
- Language: Puppet
- Size: 14.6 KB
- Stars: 1
- Watchers: 2
- 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.