cookbook 'L7-rsyncd', '= 1.0.2'
L7-rsyncd (2) Versions 1.0.2 Follow0
Installs/Configures rsyncd
cookbook 'L7-rsyncd', '= 1.0.2', :supermarket
knife supermarket install L7-rsyncd
knife supermarket download L7-rsyncd
L7-rsyncd cookbook
Description
Configures Rsyncd via Opscode Chef
Supported Platforms
- Ubuntu 12.04+
- Debian 7.0+
Recipes
-
rsyncd
- Installs and starts rsync daemon.
Definitions
-
L7_rsyncd_share
- Configures rsyncd share
Usage
Definition parameters:
-
path
: path to share -
comment
: comment of the share -
hosts_allow
: allowed hosts -
read_only
: the share is read only -
write_only
: the share is write only -
list
: listing of shares -
uid
: user id of the share -
gid
: group id of the share -
exclude
: exclude list -
secrets
: authentication part of the share
Only the path parameter is mandatory. Others are optional.
An rsyncd share:
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
TODO
Rewrite to LWRP
Contributing
- 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
License
- Freely distributable and licensed under the MIT license.
- Copyright (c) 2015 Gabor Szelcsanyi
Dependent cookbooks
This cookbook has no specified dependencies.
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Foodcritic Metric
1.0.2 failed this metric
FC015: Consider converting definition to a LWRP: /tmp/cook/205d43e8f3f67f840ecbbcc5/L7-rsyncd/definitions/share.rb:1
1.0.2 failed this metric