]> git.donarmstrong.com Git - dsa-puppet.git/blobdiff - modules/roles/manifests/ftp.pp
reorganize vsftp::site
[dsa-puppet.git] / modules / roles / manifests / ftp.pp
index 41eecf084acd9d4ae06ae073fa7ab6623f5eec68..0ae4254e569390e21cbb326151ab1380acc56e38 100644 (file)
@@ -13,14 +13,20 @@ class roles::ftp {
        }
 
        vsftpd::site { 'ftp':
-               source => 'puppet:///modules/roles/ftp/vsftpd.conf',
-               bind   => $bind,
+               banner       => 'ftp.debian.org FTP server',
+               logfile      => '/var/log/ftp/vsftpd-ftp.debian.org.log',
+               bind         => $bind,
+               max_clients  => 200,
+               root         => '/srv/ftp.debian.org/ftp.root',
        }
 
        if $bind6 {
                vsftpd::site { 'ftp-v6':
-                       source => 'puppet:///modules/roles/security_mirror/vsftpd.conf',
-                       bind   => $bind6,
+                       banner       => 'ftp.debian.org FTP server',
+                       logfile      => '/var/log/ftp/vsftpd-ftp.debian.org.log',
+                       bind         => $bind6,
+                       max_clients  => 200,
+                       root         => '/srv/ftp.debian.org/ftp.root',
                }
        }
 }