Forge Home

rsyncd

Puppet Rsyncd module

1,109,575 downloads

2,915 latest version

3.1 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Version information

  • 1.1.0 (latest)
  • 1.0.15
  • 1.0.14
  • 1.0.13
  • 1.0.12
  • 1.0.11
  • 1.0.10
  • 1.0.9
  • 1.0.8
  • 1.0.7
  • 1.0.6
  • 1.0.5
  • 1.0.4
  • 1.0.3
  • 1.0.2
  • 1.0.1
  • 0.0.1 (deleted)
released Jan 29th 2020
This version is compatible with:
  • Puppet 3.x
  • , ,

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'camptocamp-rsyncd', '1.1.0'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add camptocamp-rsyncd
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install camptocamp-rsyncd --version 1.1.0

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download

Documentation

camptocamp/rsyncd — version 1.1.0 Jan 29th 2020

Rsyncd

Puppet Forge Version Puppet Forge Downloads Build Status Gemnasium By Camptocamp

Requirements

Example usage

package { ["rsync", "xinetd"]: ensure => present }
service { "xinetd": ensure => running }

include rsyncd
$password = generate("/usr/bin/pwgen", 8, 1)

file { "/backup-mysql":
  ensure => directory,
  mode => 0775,
  owner => "dba",
  group => "dba",
}

file { "/home/dba/rsyncd.secret":
  content => "backup:${password}",
  replace => no,
  mode => 0460,
  owner=> "root",
  group => "dba",
  require => User["dba"],
}

rsyncd::export { "backup":
  path => "/backup-mysql",
  chroot => true,
  readonly => true,
  uid => "dba",
  gid => "dba",
  users => "backup",
  secrets => "/home/dba/rsyncd.secret",
  allow => "192.168.0.0/24",
  require => [File["/backup-mysql"], File["/home/dba/rsyncd.secret"]],
  prexferexec => "/home/dba/bin/pre-exec.sh"
  postxferexec => "/home/dba/bin/post-exec.sh"
}