require => Package['dupload'],
}
site::linux_module { 'dm_snapshot': }
- ferm::module { 'nf_conntrack_ftp': }
+ include ferm::ftp_conntrack
}
site::aptrepo { 'buildd':
require => Package['apt-transport-https'],
}
+ $buildd_prop_ensure = $::hostname ? {
+ /^(alkman|barber|brahms|porpora|zandonai)$/ => 'present',
+ default => 'absent',
+ }
+
site::aptrepo { 'buildd.debian.org-proposed':
- ensure => $::hostname ? {
- /^(alkman|barber|brahms|porpora|zandonai)$/ => 'present',
- default => 'absent',
- },
+ ensure => $buildd_prop_ensure,
url => 'https://buildd.debian.org/apt/',
suite => "${suite}-proposed",
components => 'main',
require => Package['apt-transport-https'],
}
- #site::aptrepo { 'buildd.debian.org-experimental':
- # ensure => $::hostname ? {
- # /^(xxxx)$/ => 'present',
- # default => 'absent',
- # },
- # url => 'https://buildd.debian.org/apt/',
- # suite => "${suite}-experimental",
- # components => 'main',
- # require => Package['apt-transport-https'],
- #}
-
# 'bad' extension
file { '/etc/apt/preferences.d/buildd.debian.org':
ensure => absent,
source => 'puppet:///modules/roles/dakmaster/rsyncd.conf',
max_clients => 100,
}
- ssl::service { 'ftp-master.debian.org':
- notify => Service['apache2'],
- }
+
+ ssl::service { 'ftp-master.debian.org':
+ notify => Service['apache2'],
+ }
}
class roles::ftp_upload {
+ include ferm::ftp_conntrack
+
vsftpd::site { 'ftp-upload':
banner => 'ftp.upload.debian.org FTP server',
logfile => '/var/log/ftp/vsftpd-ftp.upload.debian.org.log',