projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add firewall rules
[mirror/dsa-puppet.git]
/
modules
/
roles
/
manifests
/
ftp.pp
diff --git
a/modules/roles/manifests/ftp.pp
b/modules/roles/manifests/ftp.pp
index
febecf6
..
fa6421e
100644
(file)
--- a/
modules/roles/manifests/ftp.pp
+++ b/
modules/roles/manifests/ftp.pp
@@
-1,30
+1,30
@@
class roles::ftp {
$bind = $::hostname ? {
class roles::ftp {
$bind = $::hostname ? {
- kassia => '::ffff:130.89.149.226',
klecker => '::ffff:130.89.148.12',
default => '',
}
$bind6 = $::hostname ? {
klecker => '::ffff:130.89.148.12',
default => '',
}
$bind6 = $::hostname ? {
- kassia => '2001:610:1908:a000::149:226',
klecker => '2001:610:1908:b000::148:12',
default => '',
}
klecker => '2001:610:1908:b000::148:12',
default => '',
}
- $logfile = '/var/log/ftp/vsftpd-ftp.debian.org.log'
-
vsftpd::site { 'ftp':
vsftpd::site { 'ftp':
- content => template('roles/ftp/vsftpd.conf.erb'),
- logfile => $logfile,
- 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':
}
if $bind6 {
vsftpd::site { 'ftp-v6':
- content => template('roles/ftp/vsftpd.conf.erb'),
- logfile => $logfile,
- 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',
}
}
}
}
}
}