File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 2525# for logging file transfers when transfer logging is enabled. See the
2626# rsyncd.conf documentation for more details.
2727# $refuse_options - list of rsync command line options that will be refused by your rsync daemon.
28+ # $use_chroot - yes||no, defaults to undef
2829#
2930# sets up an rsync server
3031#
5960 $transfer_logging = undef ,
6061 $log_format = undef ,
6162 $refuse_options = undef ,
62- $ignore_nonreadable = undef ) {
63+ $ignore_nonreadable = undef ,
64+ $use_chroot = undef ) {
6365
6466 concat::fragment { "frag-${name}" :
6567 content => template (' rsync/module.erb' ),
Original file line number Diff line number Diff line change @@ -8,6 +8,9 @@ write only = <%= @write_only %>
88list = <%= @list %>
99uid = <%= @uid %>
1010gid = <%= @gid %>
11+ <% if @use_chroot -%>
12+ use chroot = <%= @use_chroot %>
13+ <% end -%>
1114<% if @incoming_chmod -%>
1215incoming chmod = <%= @incoming_chmod %>
1316<% end -%>
You can’t perform that action at this time.
0 commit comments