Configures Rsyncd via Opscode Chef
- Ubuntu 12.04+
- Debian 7.0+
rsyncd
- Installs and starts rsync daemon.
L7_rsyncd_share
- Configures rsyncd share
###Definition parameters:
path
: path to sharecomment
: comment of the sharehosts_allow
: allowed hostsread_only
: the share is read onlywrite_only
: the share is write onlylist
: listing of sharesuid
: user id of the sharegid
: group id of the shareexclude
: exclude listsecrets
: authentication part of the share
Only the path parameter is mandatory. Others are optional.
L7_rsyncd_share 'rsyncd_example' do
path "/etc"
uid "root"
gid "root"
comment "some comment"
secrets [ { "name" => "user1", "password" => "s3cr3t_1"} , { "name" => "user2", "password" => "s3cr3t_2" } ]
exclude ".svn .git"
end
Rewrite to LWRP
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Added some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
- Freely distributable and licensed under the MIT license.
- Copyright (c) 2016 Gabor Szelcsanyi