switch salsa db to postgres::backup_cluster
[mirror/dsa-puppet.git] / modules / vsftpd / templates / vsftpd.conf.erb
index 9229acb..5a09a5d 100644 (file)
@@ -9,9 +9,13 @@ anon_root=<%= scope.lookupvar('root') %>
 anon_umask=027
 write_enable=YES
 anon_upload_enable=YES
-chown_uploads=YES
+chown_uploads=NO
 chown_username=<%= scope.lookupvar('chown_user') %>
 <%- end -%>
+<%- if scope.lookupvar('writable') and scope.lookupvar('writable_other') -%>
+anon_other_write_enable=YES
+delete_failed_uploads=YES
+<%- end -%>
 
 xferlog_enable=YES
 xferlog_file=<%= scope.lookupvar('logfile') %>