[Lsb-messages] /var/www/bzr/lsb/devel/puppet-lsb r267: Enable anon upload for FTP.
Jeff Licquia
licquia at linuxfoundation.org
Wed Mar 21 19:47:17 UTC 2012
------------------------------------------------------------
revno: 267
committer: Jeff Licquia <licquia at linuxfoundation.org>
branch nick: puppet-lsb
timestamp: Wed 2012-03-21 15:47:17 -0400
message:
Enable anon upload for FTP.
modified:
modules/ftp/files/vsftpd.conf
modules/ftp/manifests/init.pp
-------------- next part --------------
=== modified file 'modules/ftp/files/vsftpd.conf'
--- a/modules/ftp/files/vsftpd.conf 2012-03-21 19:24:07 +0000
+++ b/modules/ftp/files/vsftpd.conf 2012-03-21 19:47:17 +0000
@@ -15,7 +15,7 @@
#
# Uncomment this to enable any form of FTP write command.
#
-#write_enable=YES
+write_enable=YES
#
# Activate directory messages - messages given to remote users when they
# go into a certain directory.
@@ -99,7 +99,7 @@
# has an effect if the above global write enable is activated. Also, you will
# obviously need to create a directory writable by the FTP user.
#
-#anon_upload_enable=YES
+anon_upload_enable=YES
#
# Default umask for anonymus users is 077. You may wish to change this to 022,
# if your users expect that (022 is used by most other ftpd's)
=== modified file 'modules/ftp/manifests/init.pp'
--- a/modules/ftp/manifests/init.pp 2012-03-21 19:24:07 +0000
+++ b/modules/ftp/manifests/init.pp 2012-03-21 19:47:17 +0000
@@ -18,6 +18,13 @@
require => [ Package['vsftpd'], File['/etc/vsftpd.conf'] ],
}
+ file { '/srv/ftp/incoming':
+ ensure => directory,
+ mode => 0777,
+ }
+
+ # Scripts for updating information on the FTP server.
+
file { '/etc/cron.daily/update-manifests':
source => [ "puppet:///modules/ftp/cron/update-manifests/$fqdn",
"puppet:///modules/ftp/cron/update-manifests/default" ],
More information about the lsb-messages
mailing list