projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
godard: enable persistent journald storage. rt#7049
[mirror/dsa-puppet.git]
/
modules
/
vsftpd
/
templates
/
vsftpd.conf.erb
diff --git
a/modules/vsftpd/templates/vsftpd.conf.erb
b/modules/vsftpd/templates/vsftpd.conf.erb
index
5a09a5d
..
739efa3
100644
(file)
--- a/
modules/vsftpd/templates/vsftpd.conf.erb
+++ b/
modules/vsftpd/templates/vsftpd.conf.erb
@@
-16,6
+16,12
@@
chown_username=<%= scope.lookupvar('chown_user') %>
anon_other_write_enable=YES
delete_failed_uploads=YES
<%- end -%>
anon_other_write_enable=YES
delete_failed_uploads=YES
<%- end -%>
+<%- if not scope.lookupvar('readable') -%>
+download_enable=NO
+<%- end -%>
+<%- if not scope.lookupvar('listable') -%>
+dirlist_enable=NO
+<%- end -%>
xferlog_enable=YES
xferlog_file=<%= scope.lookupvar('logfile') %>
xferlog_enable=YES
xferlog_file=<%= scope.lookupvar('logfile') %>