]> git.donarmstrong.com Git - dsa-puppet.git/blobdiff - modules/vsftpd/templates/vsftpd.conf.erb
set listen=NO in vsftpd
[dsa-puppet.git] / modules / vsftpd / templates / vsftpd.conf.erb
index 5d7081b6b6463b63bce42b2b85a5e4ce07a2ce23..9229acb5897f0f6f6bad1a586cd2139fa39aa839 100644 (file)
@@ -1,3 +1,8 @@
+##
+## THIS FILE IS UNDER PUPPET CONTROL. DON'T EDIT IT HERE.
+## USE: git clone git+ssh://$USER@puppet.debian.org/srv/puppet.debian.org/git/dsa-puppet.git
+##
+
 anonymous_enable=YES
 anon_root=<%= scope.lookupvar('root') %>
 <%- if scope.lookupvar('writable') -%>
@@ -5,11 +10,12 @@ anon_umask=027
 write_enable=YES
 anon_upload_enable=YES
 chown_uploads=YES
-chown_username=scope.lookupvar('chown_user')
+chown_username=<%= scope.lookupvar('chown_user') %>
 <%- end -%>
 
 xferlog_enable=YES
 xferlog_file=<%= scope.lookupvar('logfile') %>
+vsftpd_log_file=/var/log/ftp/<%= scope.lookupvar('ftpsite') %>.log
 
 ftpd_banner=<%= scope.lookupvar('banner') %>
 secure_chroot_dir=/var/run/vsftpd
@@ -19,4 +25,4 @@ dirmessage_enable=NO
 ls_recurse_enable=NO
 connect_from_port_20=NO
 max_clients=<%= scope.lookupvar('max_clients') %>
-
+listen=NO