Version information
released Jan 29th 2020
This version is compatible with:
- Puppet 3.x
- , ,
Start using this module
Add this module to your Puppetfile:
mod 'camptocamp-rsyncd', '1.1.0'
Learn more about managing modules with a PuppetfileDocumentation
camptocamp/rsyncd — version 1.1.0 Jan 29th 2020
Rsyncd
Requirements
- augeas >= 0.4.0
- puppet >= 0.24.7 (which includes native augeas type)
- this file (at least while it's not part of puppet), which fixes issue #1835: http://github.com/bkearney/puppet/tree/e431fee6de4c45fb85225d5aaff412ea0763d06f/lib/puppet/provider/augeas/augeas.rb
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"
}
2020-01-29 - Release 1.1.0
Convert to PDK
2017-06-14 - Release 1.0.15
Fix selinux module rsync_wwwdata
2017-06-08 - Release 1.0.14
Add permissions to rsync_wwwdata selinux module
2015-08-21 - Release 1.0.13
Use docker for acceptance tests
2015-06-26 - Release 1.0.12
Fix strict_variables activation with rspec-puppet 2.2
2015-05-28 - Release 1.0.11
Add beaker_spec_helper to Gemfile
2015-05-26 - Release 1.0.10
Use random application order in nodeset
2015-05-26 - Release 1.0.9
add utopic & vivid nodesets
2015-05-25 - Release 1.0.8
Don't allow failure on Puppet 4
2015-05-13 - Release 1.0.7
Add puppet-lint-file_source_rights-check gem
2015-05-12 - Release 1.0.6
Don't pin beaker
2015-04-27 - Release 1.0.5
Add nodeset ubuntu-12.04-x86_64-openstack
2015-04-03 - Release 1.0.4
- Confine rspec pinning to ruby 1.8
2015-03-24 - Release 1.0.3
- Various spec improvements