switch salsa db to postgres::backup_cluster
[mirror/dsa-puppet.git] / modules / vsftpd / templates / vsftpd.conf.erb
index 308ae63..5a09a5d 100644 (file)
@@ -12,6 +12,10 @@ anon_upload_enable=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') %>