Skip to content

Puppet module to set up multi-server synchronization using lsyncd and csync2

Notifications You must be signed in to change notification settings

iksteen/puppet-multisync

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

multisync

This is a module to set up multi-server / cluster synchronization using lsyncd and csync2.

You can use this to synchronize directories between servers. It uses a chained csync2 configuration that is triggered by lsyncd. It is based on this method: http://bit.ly/NCn7I4

This method depends on csync2 1.34 and lsyncd >= 2.0.0.

Currently, it supports setting up the synchronization on Arch Linux, CentOS 6 (lsyncd / csync2 can be found in the EPEL repository) and Debian Wheezy (Squeeze does not provide a new enough lsyncd package).

License

Apache License, version 2.0

Usage

Before creating a sync group you need to generate a key using the "csync2 -k" manually and copy the resulting key file to the files directory of this module. Give it the same name as the sync group you intend to and add a .key extension. The, use the following resource on at least two hosts to set everything up.

multisync::member { 'my_sync_group':
  path => '/srv/my_sync_group',
}

Contact

Ingmar Steen [email protected]

Support

Please log issues at the project site

About

Puppet module to set up multi-server synchronization using lsyncd and csync2

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published