Skip to content

Commit

Permalink
Add use_chroot option to modules
Browse files Browse the repository at this point in the history
  • Loading branch information
benohara committed Apr 7, 2021
1 parent b3ee352 commit 32631f3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion manifests/server/module.pp
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
# $exclude - list of files to exclude
# $exclude_from - file containing a list of files to exclude
# $dont_compress - disable compression on matching files
# $use_chroot - yes||no, defaults to undef
#
# sets up an rsync server
#
Expand Down Expand Up @@ -77,7 +78,8 @@
$exclude = undef,
$exclude_from = undef,
$dont_compress = undef,
$ignore_nonreadable = undef) {
$ignore_nonreadable = undef,
$use_chroot = undef) {

concat::fragment { "frag-${name}":
content => template('rsync/module.erb'),
Expand Down

0 comments on commit 32631f3

Please sign in to comment.